schteppe / p2.js

JavaScript 2D physics library
Other
2.64k stars 330 forks source link

Angle restriction in RevoluteConstraint #163

Closed r3curs10n closed 9 years ago

r3curs10n commented 9 years ago

Is it possible to restrict rotation while using a RevoluteConstraint to create something like an elbow joint that can't bend backwards? What would be the right approach to simulate such a joint in p2.js?