Search Unity

Animation Rigging - Not Following Target In Game

Discussion in 'Animation' started by Joewa654321_, Sep 27, 2021.

  1. Joewa654321_

    Joewa654321_

    Joined:
    Apr 27, 2020
    Posts:
    32
    Hi all,

    I've encountered an issue while using the animation rigging package. I am able to get my animation rigging to work in that the target bone rotates around the desired axis as the target moves. The target is fixed to my players camera which rotates up or down based on where they are looking. The issue is that it only follows the target when I myself move it in the editor via direct manipulation of its position, not when it moves with the camera even though the camera position is clearly changing and the target is moving up or down based on where the player is looking in the scene. My RigBuilder is fixed to the same component as my animator, and my Rig is below that in the hierarchy. Any suggestions? For whatever reason, it simply isn't reading the targets movement in game based on the camera position.

    Thank you.
     
  2. Joewa654321_

    Joewa654321_

    Joined:
    Apr 27, 2020
    Posts:
    32
    Edit: Have since solved, the issue was related to me placing my rig builder and animator on my player object and not my player model.