Search Unity

How do I add variables to my animation?

Discussion in 'Animation' started by romans8710, Apr 19, 2020.

  1. romans8710

    romans8710

    Joined:
    Mar 29, 2020
    Posts:
    7
    I want a simple recoil animation for my gun when I shoot that rotates the gun upwards of 10 degrees and back down quickly. How do I make a keyframe that takes the guns current z-rotation and adds 10 degrees to it?