You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! After updating to rapier 0.12 and bevy_rapier 0.13 motors in my application(https://github.com/gavlig/gryazevichki/) have started working differently.
Before update to make wheels rotate and accelerate vehicle forward it was enough to set motor velocity with damping 0.7. Now damping has to be 100.0 for it to move.
Same with steering, i used to have stiffness 5.0 and damping 3.0 to rotate wheels with motor_position, now damping 100.0 and stiffness 67000.0
I have made two branches for a repro:
one with newest rapier and bevy_rapier case a
one with previous that worked(v0.12.0-alpha.0) with said values: case b
both will run with cargo run -r
They both have the same set of parameters on vehicle to see how big of a difference there is. To see how it works with adjusted values see master branch.
I use a slightly modified version of rapier in dependencies, but that is because of these two PRs: fix1 and fix2 and they shouldn't affect behavior in that way especially since i had them before the update.
Any help is greatly appreciated!
Edit: i'm closing it. New rapier might work with different values, but i've adapted already
The text was updated successfully, but these errors were encountered:
Hi! After updating to rapier 0.12 and bevy_rapier 0.13 motors in my application(https://github.com/gavlig/gryazevichki/) have started working differently.
Before update to make wheels rotate and accelerate vehicle forward it was enough to set motor velocity with damping 0.7. Now damping has to be 100.0 for it to move.
Same with steering, i used to have stiffness 5.0 and damping 3.0 to rotate wheels with motor_position, now damping 100.0 and stiffness 67000.0
I have made two branches for a repro:
one with newest rapier and bevy_rapier case a
one with previous that worked(v0.12.0-alpha.0) with said values: case b
both will run with cargo run -r
They both have the same set of parameters on vehicle to see how big of a difference there is. To see how it works with adjusted values see master branch.
I use a slightly modified version of rapier in dependencies, but that is because of these two PRs: fix1 and fix2 and they shouldn't affect behavior in that way especially since i had them before the update.
Any help is greatly appreciated!
Edit: i'm closing it. New rapier might work with different values, but i've adapted already
The text was updated successfully, but these errors were encountered: