Summary
When an entity is attached to a parent entity, calling GetGlobalTransform() on the child entity fails to return the correct world-space transform (0,0,0). Might be returning LocalTransform instead of global transform. It works fine on immediate children but once you go 3 levels deep it breaks.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Stability
Steps to Reproduce
- Create parent entity
- Create child entity
- Create child child entity
- Try to get the GlobalTransform from the child child entity in a component under the child child entity
- See the 0,0,0 result
Expected Result
The expected result is getting the correct globaltransform
Observed Result
0,0,0 transform it is possible that GetGlobalTransform() is returning the localtransform instead of the GlobalTransform
Platform(s)
all
