Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Multi-Parent Constraint with Multi-Aim Constraint on a Humanoid rig

Discussion in 'Animation Rigging' started by magebuzzcutt, Jun 3, 2023.

  1. magebuzzcutt

    magebuzzcutt

    Joined:
    Jun 20, 2021
    Posts:
    17
    Hi,

    I use the Multi-Parent constraint to attach weapons to my character's hand. I use this system because sometimes the weapon may be sheathed, so I only want it to be attached to a hand sometimes. The weapon is attached to a weapon bone, and the constraint works well for normal animations. However, I get an issue when it is paired with a Multi-Aim constraint. The multi-aim constraint is used to aim the character's spine to get it to look in certain directions. However, any transformation of the bones as a result of the multi-aim constraint target moving does not affect the Multi-Parent constraint, so the weapon does not move, it remains in the same place as if the hand has not moved. However, the target of the multi-parent constraint is a child of the hand bone and although the multi-parent target moves with the hand bone with any multi-aim constraint movements, the actual weapon does not follow the target.

    Does anyone have any idea why this is?

    TIA.
     
  2. ElevenGame

    ElevenGame

    Joined:
    Jun 13, 2016
    Posts:
    146