Join controller with MilkShape model

How to make a simple move of a join with a milkShape model,  I try to find this in the forum but it doen't exist.


((JointController) file.getController(0)).setActive(true);
               
 ((JointController) file.getController(0)).setRotation();



Can be with setRotation or what do I need to do this, (as you can see I'm new with this)
How I update the model, somebody knows some simple code to rotate a join 45

Give this a try:



JointController jc = (JointController)file.getController(0);
Quaternion q = new Quaternion();
q.fromAngleNormalAxis( FastMath.PI - 0.5f, Vector3f.UNIT_X);
jc.localRefMatrix[1].setRotationQuaternion(q);



I have not used it much, but appeared to work when I was experimenting.

Thanks, it works perfectly



I have a new doubt,  how can I have a control over the angles of 2 diferent joins, I mean, if I have one join pointing to 45