Trying to simply play this animation... Help please.

I am using the FPS Controller that comes with Unity. When i press P i want my player to do the “Test” animation which moves it up into the air a litte, basically a jump animation. Whenever i press P it clamps my player to the position that the animation was recorded, it isn’t relative to where ever i may move. Why isn’t this working? Here is my simple script:

function Update () {

if (Input.GetKey("p"))



I’ll answer your question this time, but this is a question that should be rejected. With a google search it took me less than 3 seconds to find an answer.

You want a relative animation in unity? Google ‘unity relative animation’

First result: Relative animation? - Questions & Answers - Unity Discussions