Search Unity

Question Animation rigging rotations problem

Discussion in 'Animation Rigging' started by codeBatt, Feb 21, 2023.

  1. codeBatt

    codeBatt

    Joined:
    Feb 12, 2020
    Posts:
    40
    Hello, I am making an aiming mechanic using animation rigging package with unity 2021.3.16f1(lts version).
    I followed many tutorials from youtube they all make a rig setup then adding multi- aim constraint to an object beneath the Rig. After that, their rigs properly rotated but mine is not aiming towards the target object. I played with up and aiming axeses very much and still do not get anything. Any help or suggestion is appreciated.
    Also the character is synth character and uses unity's third person shooter controller & avatar as animations.

    Video link: https://drive.google.com/file/d/1ztro8h_278C3o9KpybUDhnKYaGs4xeh6/view?usp=sharing
     

    Attached Files:

  2. aytimothy

    aytimothy

    Joined:
    Apr 9, 2015
    Posts:
    3
    Is the rig parented to any of the animation bones?
    Also, what's the structure of your gun transform (attached to the hand)? If the parented object isn't aligned with the parent bone (that is being constrained), it can look wrong.

    Finally, maybe check your Aim/Up axis (these match up to the constrained object's local axis directions).
     
    codeBatt likes this.