jakobhellermann / bevy_editor_pls

In-App editor tools for bevy applications
Other
755 stars 78 forks source link

Fixed gizmos rendering at incorrect location #93

Closed louis-le-cam closed 7 months ago

louis-le-cam commented 9 months ago

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 ?

jakobhellermann commented 7 months ago

Thanks for the fix!

Should I update the Changelog ?

I'll do that now and publish a release