Home Website Youtube GitHub

New "Swing" joint for EPIC_arm_02 isn't mirrored

Hello ! There is an issue with the EPIC_arm_02 after building the guide for the right side : the new “swing_jnt” has 180° rotation on Y, so the joint is not mirrored.

Repro steps :

  1. Create Epic_arm_02
  2. Set it to “Left”
  3. Mirror the guide
  4. Build the rig

Now inspect the orientation of the arm_R0_upperarm_swing_jnt.

Also, current_parent variable might be referenced before assignment.

I’ve found the fix inside the code and will ask for a pull request.
https://github.com/mgear-dev/mgear/pull/640
Line 688

__# extra joint twist/swing
__if self.settings[“div0”]:
____self.jnt_pos.append(
______{
_________“obj”: self.arm_root_base, :arrow_left: instead of roll_off

(i don’t remember how to send you properly formatted code :sweat_smile:)

mGear version 5.3.3
Maya 2027

Thaaaanks :blush: