-
Notifications
You must be signed in to change notification settings - Fork 38
Models are imported with float values instead of the saved zero for position and orientation #95
Comments
@j-meiring @JeromeFLS I think that somehow the model loses its location data or is changed somehow. Does this always happen to the same assets? so yes could you send me the asset it happens to? This could happen at multiple places Work around would be to |
This isn’t very helpful, I’ve also not come across this. We have a somewhat similar workflow that relies on the position being saved correctly. I have occasionally seen floating point positions change very slightly when round-tripped through Rojo/Roblox Studio/Remodel. Have you tried outputting as rbxmx files instead? That may fix the issue - or may at least help you diagnose it as it’s a human-readable format. I’d suggest creating and sharing a minimal test case. That may identify the issue or help others solve it. |
@Boegie19 I've asked @JeromeFLS to provide you more detail - he constructed the model so can hopefully provide you with more detail around the actual assets.
Even when I changed all of the coordinates to 0,
It looks to me, based on saving it from Roblox, that the world pivot data is being saved out of nowhere - I saved the asset where the coordinates were all 0 and a readable in the xml as having changed. Importing it from file still works as expected, but when the models are generated via the script, the properties pull through incorrectly. |
I think I've managed to find a work around to my issue. After adding new mesh objects to it, and removing model objects that were only being used as parent objects, And then placing the new meshes into folders instead, I'm no longer getting random position values after the remodel. I've also added a floor mesh that is now the primary part of this plot object and everything is working as expected. |
When using remodel and git, a model file that i had saved out with zero for its and its children's position and orientation values ends up being built into the scene with random float values. i m not sure if this is due to some sort of way the remodel system brings them into the workspace and then moves them to replicated storage or if its just a bug.
when importing that file manually the values show up correcting (being zero) and I'm able to use the model as intended.
has anyone else had this issue? and or know what could be causing this?
@j-meiring
The text was updated successfully, but these errors were encountered: