I want to copy the joint rotation from one bone to another. But I want to give it a smaller value.
so, I am getting the joint rotation by:
var joint1Transform = script.bone1.getWorldTransform();
var joint1Rotation = joint1Transform.getWorldRotation();
var joint2Transform = script.bone2.getWorldTransform();
this works, but how can I half the values? So that if joint 1 has a 30 degree rotation on Z, I put only 15 degrees on joint 2?