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
  3. Dismiss Notice

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:
    4
    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.