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

[Possible Regression] Motors act different since 0.12.0 #329

Closed
gavlig opened this issue May 15, 2022 · 0 comments
Closed

[Possible Regression] Motors act different since 0.12.0 #329

gavlig opened this issue May 15, 2022 · 0 comments

Comments

@gavlig
Copy link

gavlig commented May 15, 2022

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

@gavlig gavlig closed this as completed May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant