Search Unity

In Unity 2017 how do you record a child's movement from a parent's animator?

Discussion in 'Animation' started by bobjoeunity, Nov 25, 2017.

  1. bobjoeunity

    bobjoeunity

    Joined:
    Nov 8, 2017
    Posts:
    1
    At 40:40 of https://unity3d.com/learn/tutorials/topics/2d-game-creation/top-down-2d-game-basics?playlist=17093

    There is a Laser that is a child of Player. The Player has an Animator that is controlling IsActive on the child (the child can't seem to do this on its own animator). So when I am trying to move the Laser from the Player Animator, the Record function doesn't work.

    Also trying to move the laser in the scene doesn't work because clicking on it changes focus to the Laser instead of the Player so it seems the only way to change position and rotation of the parent is to write in the values manually, which is crazy tedious.

    Is this tutorial out of date then and there's no easy way to animate a child from the parent? Is this even the best way to animate the Laser?

    It looks like he's using a much older version of unity.