skip to Main Content

You can see the problem when moving perpendicular to the collider: https://8observer8.github.io/webgl10-js/lighthouse-oimophysics-webgl-js/

enter image description here

I use OimoPhysics but there is no such tag. This is a task common to all physics engines. There is a ball that slides down an inclined surface. It will rotate around an axis pointing upwards in the direction of greatest friction. It can only rotate around the upward axis, rotations around the other axes are frozen.

2

Answers


  1. Chosen as BEST ANSWER

    I created the issue on GitHub: https://github.com/saharan/OimoPhysics/issues/65


  2. It will be a long wait for the OimoPhysics developers to solve this problem. I replaced OimoPhysics with Ammo.js and the problem went away: https://8observer8.github.io/webgl10-js/lighthouse-ammo-webgl-js/

    enter image description here

    Ammo.js works for bigger angle (42 degrees) too:

    enter image description here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search