Animation by moving your body/hmd/camera

How can I play animation when camera/body/hmd change location.

Now, coordinants of my body and camera synchronizated. I can moving by my legs, but I have not Animation. I`m novice and I breaks all, when I try to add animations myself. How can I solve this problem?