Stretchy Joints
...The following tutorial shows how to construct and script a basic stretchy joint system. The following text is the expression used in the tutorial. Remember to set the multiplyDivide input2X a little higher than the default distance, if you want the leg to over extend before stretching. Expression is as follows--> if (distShape.distance > 1.9924) {hipJnt1.scaleX = mDiv1.outputX; kneeJnt1.scaleX=mDiv1.outputX;}
if (distShape.distance <= 1.9924) {hipJnt1.scaleX = 1; kneeJnt1.scaleX=1;};Right Click to >>> DOWNLOAD Stretchy Joints | |