Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

f64 support #421

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

f64 support #421

wants to merge 10 commits into from

Conversation

Aceeri
Copy link
Contributor

@Aceeri Aceeri commented Aug 24, 2023

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

@Aceeri Aceeri marked this pull request as ready for review August 25, 2023 01:00
@sebcrozet
Copy link
Member

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.

@Aceeri
Copy link
Contributor Author

Aceeri commented Oct 2, 2023

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.

@Vrixyz Vrixyz added D-Difficult Needs strong technical background, domain knowledge, or impacts are high, needs testing... P-Medium A-Integration very bevy specific labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Integration very bevy specific D-Difficult Needs strong technical background, domain knowledge, or impacts are high, needs testing... P-Medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants