Hey, I'm new to Bevy, and I'm a bit confused by .gltf/.glb files. I have a file that contains a few objects. I want to move one object with a certain component towards another over time (Components are added through a function that looks at the "extras" on each model, and adds a component as needed). The problem is when I print out the position (Transform.translate) of the sub-asset object, it says it's located at 0,0,0 I have components on each of these objects that spin them, and they spin from their center. If they have a center, so transforms aren't quite 0,0,0 in reality, right? Is there a way to get the real location of these objects?
#Question about .GLTF sub-assets and their Transform components
3 messages · Page 1 of 1 (latest)
Transform propagates through the hierarchy, so one of the parents of that entity has the proper position
Oh, that's good to know. Any idea how high up it might be? If not, I'll just keep digging. Thanks for the help