dimforge / bevy_rapier

Official Rapier plugin for the Bevy game engine.
https://rapier.rs
Apache License 2.0
1.19k stars 256 forks source link

How to use f64 version of rapier2d? #290

Open Sergei1984 opened 1 year ago

Sergei1984 commented 1 year ago

Should I use specific package? Or feature? Or that's not possible?

sebcrozet commented 1 year ago

Hi! There is no convenient plugin for using the f64 version of rapier with bevy. So you can use the rapier2d-f64 package directly, but you will have to interface it with bevy yourself.

Vrixyz commented 1 month ago

Related: https://github.com/dimforge/bevy_rapier/issues/253 ; bevy transforms are currently a blocker to support f64 (see https://github.com/bevyengine/bevy/issues/1680) for rapier as current architecture of bevy_rapier is laid out (we're translating from and to bevy Transform).

Another possibility is if we opt out of bevy Transform, we might be able to evolve without being blocked by it.