for example. i have created a limited revolute joint from 0 to 45^. when key is down apply torque and when object rotates from 0 to 45^ as its the limit of the revolute joints. in that moment after reaching the 45^ i want to stop applying torque.
Develop games in your browser. Powerful, performant & highly capable.