chandlerprall / Physijs

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

Any way to move a motor to a specific rotation degree #272

Open riccardolardi opened 8 years ago

riccardolardi commented 8 years ago

Is there any way to set a motor to goto a specific rotation degree at a certain speed? This might be more of a feature request but I thought I'd still ask

ghost commented 8 years ago

@alberto2000 the Physijs.ConeTwist constraint is probably what you are looking for. It has a feature to set a target and a max impulse to reach for that target. Find it here.

riccardolardi commented 8 years ago

@xprogram thanks I will try that - didn't know that this constraint type had this feature