Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. 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: