x


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.

more ▼

asked Feb 08, 2011 at 08:00 AM

VZdemon gravatar image

VZdemon
8 5 6 10

(comments are locked)
10|3000 characters needed characters left

4 answers: sort voted first

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

more ▼

answered Feb 08, 2011 at 08:10 AM

Kona gravatar image

Kona
268 25 19 34

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.

Feb 22, 2011 at 08:26 PM VZdemon
(comments are locked)
10|3000 characters needed characters left

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.

more ▼

answered Feb 09, 2011 at 08:33 PM

VZdemon gravatar image

VZdemon
8 5 6 10

(comments are locked)
10|3000 characters needed characters left

Add mouse look to both the camera and the body. Set the camrea to only y-axis and the body to x-axis.

more ▼

answered Oct 16, 2011 at 11:35 PM

SIM gravatar image

SIM
1 18 12 15

(comments are locked)
10|3000 characters needed characters left

Make the hands a child of the camera by dragging the hands in the hierarchy to the camera.

more ▼

answered Jun 05, 2013 at 10:24 PM

LittleBigBug gravatar image

LittleBigBug
3 6 4 7

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1563
x627
x217
x28

asked: Feb 08, 2011 at 08:00 AM

Seen: 5276 times

Last Updated: Jun 05, 2013 at 10:24 PM