Search code examples
javascriptcannon.js

Cannon.js - How can I set rotation limits for a HingeConstraint?


I'd like to be able to set rotational limits on a hinge constraint with cannon.js

I've looked everywhere for an example and can't find anything.


Solution

  • The HingeConstraint in Cannon.js does not yet support rotation limits.