bevy_rapier
bevy_rapier copied to clipboard
Fix transform_to_iso to keep identical rotation
As the title, fix the transform_to_iso
to have an equal quaternion value.
Currently, the result isometry has slightly different values so it's hard to make the app deterministic when setting rotation manually.
I think we need to fix the 2d version of the function too, but I'm not sure how to fix it.