Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Multi-Aim Constraint

Discussion in 'Animation Rigging' started by mail_unity333, Mar 13, 2021.

  1. mail_unity333

    mail_unity333

    Joined:
    Mar 31, 2020
    Posts:
    2
    Hello, I am having some problems trying to set up Multi-Aim Constraint and I have researched a lot and can't find a way to fix it.

    I am trying to make my character (humanoid rig) aim at the target position, but it only works when aiming forward, and if I try to rotate and aim backward it has some undesired behaviors.

    I tried to provide as much context as I could, and sorry about my English, not a native language :)

    The desired result is to just aim up and down no matter the direction



    Player:
    Screenshot_1.png
    Screenshot_2.png Screenshot_3.png Screenshot_4.png Screenshot_5.png
     
    Last edited: Mar 13, 2021
  2. isawyou0

    isawyou0

    Joined:
    Oct 8, 2020
    Posts:
    30
    you're hierarchy is horrible, why not to use this simple 1 assuming that rig 1 is multi aim cst, rig 2 is two bones Ik, rig 3 multi parent cst,

    Aim Gameobject to Rotate, and voilà that works super fine
     

    Attached Files: