- Home /
FPS hands and gun
I am developing and FPS game and i was wondering how do you make it so that the hands and the gun move like in a real fps. i mean that the hands and gun move up and down and the body stays in place.
Answer by Kona · Feb 08, 2011 at 08:10 AM
It's called head bobbing I think and there's a quite good example of this at the unity wiki. :)
http://www.unifycommunity.com/wiki/index.php?title=Headbobber
not exactly what i'm looking for. see i what to enable to hands to rotate freely but the body only rotates on the x axis so that he aims with his handes but the body still move in the direction of the camera.
Answer by VZdemon · Feb 09, 2011 at 08:33 PM
not exactly what i'm looking for. see i what to enable to hands to rotate freely but the body only rotates on the x axis so that he aims with his handes but the body still move in the direction of the camera.
Answer by SIM · Oct 16, 2011 at 11:35 PM
Add mouse look to both the camera and the body. Set the camrea to only y-axis and the body to x-axis.
Answer by LittleBigBug · Jun 05, 2013 at 10:24 PM
Make the hands a child of the camera by dragging the hands in the hierarchy to the camera.
Your answer
Follow this Question
Related Questions
Rotate gun to mouselook 1 Answer
How do I make a gun project a particle? 1 Answer
how do i attach a gun to my character 2 Answers
Gun doesn't shoot straight? 1 Answer
Gun not rotating with the camera? 1 Answer