chandlerprall / Physijs

Physics plugin for Three.js
MIT License
2.75k stars 455 forks source link

Is there a way to do an expanding and contracting joint? #285

Open IgorNadj opened 7 years ago

IgorNadj commented 7 years ago

E.g. I have two boxes, and a I want a joint between them which expands and contracts. Is there a way to do this? Within physijs or outside?

mmmovania commented 7 years ago

Use a point to point constraint as shown in this tutirial demo https://github.com/mmmovania/Physijs_Tutorials/blob/master/SimpleJoint.html