Closed arvinwallace closed 6 months ago
This is a better question for Wawa to explain.
I see the issue now. in v-1.1.2 the "lockRotations" prop in the RigidBody did not prevent "setAngvel" from changing the rotation of the player-Y axis inside UseFrame. In the latest version of Rapier, "lockRotations" does indeed lock the rotations (no matter what happens with setAngvel) ss it should and probably as intended.
So in other words, if you make a mistake (like in that physics tutorial) and leave "lockRotations" on accidentally, you will not pay a price for it in the older version. The latest version enforces correct behavior as it should.
I bring this up because I'm working through the "Physics" tutorial from WAWA and the left/right controls on the player's rotation no longer work with the latest rapier version.