Hi, I want to build an AnyRevoluteJoint with two parts, but the axis is the Z axis of the ..SHANK_PART___2.HINGE_ANKLE_FLEXION_RIGHT and the Y axis of ANKLE_PART___1.HINGE_ANKLE_FLEXION_RIGHT. Could you please tell me how to do it? Thanks!
The idea is that on order to join the two objects along their Z axis you will need a new reference frame on the ANKLE_PART that is rotated so that when joining the z axis - the object is placed correctly.
The RotMat is a rotation matrix that rotates along one axis.