bevy_editor_pls icon indicating copy to clipboard operation
bevy_editor_pls copied to clipboard

Fixed gizmos rendering at incorrect location

Open louis-le-cam opened this issue 1 year ago • 0 comments

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 ?

louis-le-cam avatar Jan 24 '24 19:01 louis-le-cam