Skip to content

[Possible Regression] Motors act different since 0.12.0 #329

@gavlig

Description

@gavlig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions