I am having problems customizing my rotations for a biped model I created. I've copied the basic biped's setRotation() method to do the rotation points but obviously it won't work since my biped model has different proportions to the basic one. My question is how should I manipulate the setRotation() method to change the rotation to suit the needs of my model.
Right now the model is running and his arms are flying off his body when it rotates and comes back and it just looks very awkward. All I want is for the arm rotation point to be secured at the shoulder and for it to rotate at 30 degrees back and forth.
What would really help me is knowing what everything does.
What do the arguments of addBox() represent?
What does setRotationPoint() do and what do its arguments represent?
What do the variables rotateAngleX and rotateAngleZ do?