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
I switched from Bevy 0.12 to 0.14 and updated bevy_rapier from 0.24 to 0.27 (I didn't change any of the rapier configs). There is the following change in collisions and (pushback?) I noticed.
It's quite possible that this is something specific to my project as I am setting the linear velocity of the player rigidbody every frame (even when the player doesn't move), though that wouldn't explain the differing behaviour. I also went through the changelogs of both bevy_rapier as well as rapier, but I couldn't find anything that seems related.
My best guess is that some default value was changed which I didn't explicitly set (though I would have expected to see that in the changelogs mentioned). Any help is appreciated.
The text was updated successfully, but these errors were encountered:
The IntegrationParameters::normalized_max_penetration_correction has been replaced by ::normalized_max_corrective_velocity to make the parameter more timestep-length independent. It is now set to a non-infinite value to eliminate aggressive "popping effects".
(bevy_rapier 0.27 being the version bumping rapier to 0.20)
As for your fix, if tweaking the parameters isn't enough, another option is to query collisions and and/or the colliders through the query_pipeline and teleport your player manually outside the collision.
I switched from Bevy 0.12 to 0.14 and updated bevy_rapier from 0.24 to 0.27 (I didn't change any of the rapier configs). There is the following change in collisions and (pushback?) I noticed.
bevy_rapier 0.24, snappy collisions
Which changed to the following.
bevy_rapier 0.27, sloppy and slow collisions
It's quite possible that this is something specific to my project as I am setting the linear velocity of the player rigidbody every frame (even when the player doesn't move), though that wouldn't explain the differing behaviour. I also went through the changelogs of both bevy_rapier as well as rapier, but I couldn't find anything that seems related.
My best guess is that some default value was changed which I didn't explicitly set (though I would have expected to see that in the changelogs mentioned). Any help is appreciated.
The text was updated successfully, but these errors were encountered: