When moving at an angle to the collider, the issue becomes apparent:
https://i.sstatic.net/k3fF1.gif
Although I am using OimoPhysics, there seems to be no specific tag for this. This problem is commonly encountered in all physics engines. The scenario involves a ball sliding down an inclined surface while rotating around an axis that points upwards in the direction of greatest friction. The rotational movement is restricted to the upward axis, freezing rotations around other axes.
I have raised this issue on the OimoPhysics GitHub page: https://github.com/saharan/OimoPhysics/issues/65
Another similar issue can be found on the Cannon ES GitHub page with source code implemented in Three.js: https://github.com/pmndrs/cannon-es/issues/183
- Explore the issue further using PlayCode:
https://i.sstatic.net/wuN9C.gif
However, switching from OimoPhysics to Ammo.js resolved the problem entirely:
https://i.sstatic.net/2dUpr.gif
Ammo.js also handles bigger angles (up to 42 degrees) smoothly: