dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.77k stars 235 forks source link

2D Rigidbody type changing from Kinematic->Dynamic at runtime doesn't work #616

Closed miwarnec closed 1 month ago

miwarnec commented 2 months ago

I create a 2D KinematicPosition Rigidbody. Change it to Dynamic 3 seconds later. Apply a velocity in every update afterwards.

The Rigidbody never moves again after it was kinematic once.


Same happens if I create a Dynamic Rigidbody. Change to Kinematic. Change back to Dynamic 3 seconds later. Applying velocity never movies it again.

MaxCWhitehead commented 2 months ago

This may have been fixed in #599

Vrixyz commented 1 month ago

I confirm I couldn't reproduce (tested in cfcbe58920d7fa2177e9a188)