bevy_rapier icon indicating copy to clipboard operation
bevy_rapier copied to clipboard

f64 support

Open Aceeri opened this issue 2 years ago • 2 comments

Allows usage of rapier3d/2d-f64 with bevy rapier.

Aceeri avatar Aug 24 '23 07:08 Aceeri

Thank you for this PR! What is the use-case for this? While the internal calculation will be performed with f64 precision, the synchronization with bevy’s transform will still rely on f32, resulting in an automatic loss of precision for all the positions.

sebcrozet avatar Sep 30 '23 15:09 sebcrozet

Thank you for this PR! What is the use-case for this? While the internal calculation will be performed with f64 precision, the synchronization with bevy’s transform will still rely on f32, resulting in an automatic loss of precision for all the positions.

Mostly for better substep precision, but I also hope to improve this by adding a PhysicsTransform instead of us using GlobalTransform directly.

Aceeri avatar Oct 02 '23 05:10 Aceeri