Hi Thomaz,
First, I misunderstood what your intention is. So you may want to rotate everything about pelvis including muscle attachment points.
You are right. My suggestion only works for the geometry of pelvis. Then you have to apply this transformation into all muscle attachment points. It will be a big task.
Instead, I would recommend you to modify the SpineRhythmDrv.
In the ‘…\Body\AAUHuman\Trunk\JointsLumbar.any’ file,
//Spine rhythm leaves three rotational dof between pelvis and thorax free
AnyKinEqSimpleDriver SpineRhythmDrv = {
AnyKinMeasureLinComb Measure = {
[b]AnyJoint &u1 = ..SacrumPelvisJnt;[/b]
AnyJoint &u2 = ..L5SacrumJnt;
AnyJoint &u3 = ..L4L5Jnt;
AnyJoint &u4 = ..L3L4Jnt;
AnyJoint &u5 = ..L2L3Jnt;
AnyJoint &u6 = ..L1L2Jnt;
AnyJoint &u7 = ..T12L1Jnt;
#include "SRMatrixes.any"
}; // Measure
DriverPos = {0,0,0, 0,0,0, 0,0,0, 0,0,0, 0,0,0, 0,0,0};
DriverVel = {0,0,0, 0,0,0, 0,0,0, 0,0,0, 0,0,0, 0,0,0};
Reaction.Type = {Off,Off,Off, Off,Off,Off, Off,Off,Off, Off,Off,Off, Off,Off,Off, Off,Off,Off};
}; // SpineRhythmDrv
#endif
This SpineRhythmDrv contains 18 constraints.
If you want to rotate the pelvis segment with respect to the SacrumPelvisJnt(AnySphericalJoint), then I would try to remove 3 lines of SpineRhythmDrv which are related to the SacrumPelvisJnt.
Instead then you should put 3 more constraints regarding this SacrumPelvisJnt. In these constraints you can specify an angle to make the pelvis be rotated with respect to the SacrumPelvisJnt.
If you still want to keep this SacrumPelvisJnt as a part of SpineRhythmDrv, then I would try to change the coefficient of the matrix.
I hope this may be helpful to you.
Best regards,
Moonki