Search Unity

Animation Rigging constraint issue: Multi-Aim not working as expected

Discussion in 'Animation' started by sidwasnothere, Nov 15, 2019.

  1. sidwasnothere

    sidwasnothere

    Joined:
    May 3, 2018
    Posts:
    6
    I'm working on a runtime rig for a mech and need my lasers to point at targets. I'm using the multi aim constraint for this but it doesn't seem to work as expected once the parent rig is rotated in any direction.

    Maybe I'm not using the constraint correctly but in the video I linked below you can see the constraint values in the inspector on the right. Anyone have ideas on this?

    Link to video of the issue:
     
  2. jister

    jister

    Joined:
    Oct 9, 2009
    Posts:
    1,749
    bump, I have a similar behavior, almost looks like the rotations are inverted for me... although it's not depending on the rotation of the root for me...
     

    Attached Files:

  3. lsozke

    lsozke

    Joined:
    Jul 3, 2017
    Posts:
    3
    I found the answer here. It's all about the "Aim Axis" setting. Have to find the correct axis at head's local space.
     
    vakuzar and jister like this.
  4. Radivarig

    Radivarig

    Joined:
    May 15, 2013
    Posts:
    121
    Wrong "Aim Axis" was the problem for me but changing it in play-mode did nothing.. had to set it in edit-mode first.
     
    Xeisu likes this.