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
When using the RigidBodyType::KinematicVelocityBased rigid body type in bevy_rapier2d the RigidBodyVelocity.linvel seems to be always [0, 0] even when it is moving (by setting the velocity inside a system).
Modifying the velocity has the desired effect, but querying the current velocity doesn't provide the expected value.
If the RigidbodyType is switched to the Dynamic variant, the RigidBodyVelocity.linvel value is properly updated.
The text was updated successfully, but these errors were encountered:
When using the
RigidBodyType::KinematicVelocityBased
rigid body type inbevy_rapier2d
theRigidBodyVelocity.linvel
seems to be always[0, 0]
even when it is moving (by setting the velocity inside a system).Modifying the velocity has the desired effect, but querying the current velocity doesn't provide the expected value.
If the RigidbodyType is switched to the
Dynamic
variant, theRigidBodyVelocity.linvel
value is properly updated.The text was updated successfully, but these errors were encountered: