bevy_editor_pls
bevy_editor_pls copied to clipboard
Fixed gizmos rendering at incorrect location
Close #82
I just used GlobalTransform instead of Transform as the input of the Gizmo.
Then the output of the Gizmo was in world space so I converted it to local space with some maths magic.
(I also think it's possible to directly change the GlobalTransform but it could result in problems if the transform is modified the same frame)
Should I update the Changelog ?