Closed Looooong closed 3 years ago
I discovered the same issue today:
Changing Scale
and Translation
of the Parent Transform
works correctly.
Changing Rotation
of the parent Transform
results in a change to the child Transform
instead a change to the GlobalTransform
as expected.
The issue should be fixed now. Can you try again with the main
branch? (bevy-inspector-egui = { git = "https://github.com/jakobhellermann/bevy-inspector-egui", branch = "main" }
Yup, seems to be fixed on main, thanks!
Modifying
Transform.rotation
of one entity in the world inspector changes visual representation of theTransform.rotation
of other entity. AlthoughGlobalTransform.rotation
may change,Transform.rotation
must not change because it is local to the entity space. Therefore, I think that there is something wrong with theTransform.rotation
presentation in the world inspector.Here is a demo video. Notice the other's
Transform.rotation
being changed when changingTransform.rotation
of an entity.https://user-images.githubusercontent.com/8206622/122642236-8a5fbf00-d133-11eb-93d5-ccc21b63e151.mp4