dimforge / rapier

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

Fix check for motor constraints on angular DoF #560

Closed kvark closed 7 months ago

kvark commented 7 months ago

It looks like motor_axes is just a mask of axes, similar to locked_axes. It shouldn't need to be shifted by DIM for these checks.