x


Why are my guns shooting lower when my character moves forward?

Two of my character's guns (this is an FPS) shoot straight where it's aiming when standing still, but shoot lower when walking forward and shoot upward when walking backward. One gun shoots with raycast and the other launches a projectile. There is another gun that shoots with raycast as well, but it doesn't have this problem. I know it has nothing to do with the script that makes the guns move realistically, as I have tested the game with that script deactivated. Somebody please help.

more ▼

asked Aug 10 '12 at 12:19 AM

thenickhis gravatar image

thenickhis
0 3 5

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

1 answer: sort voted first

Perhaps your object that you use for a crosshair is positioned with your camera, which will move when your player is moving. Make sure that nothing is being moved other than the player and the gun animation while you're moving.

more ▼

answered Aug 13 '12 at 08:01 PM

tw1st3d gravatar image

tw1st3d
105 3 4

(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:

x2165
x1528
x446
x274
x61

asked: Aug 10 '12 at 12:19 AM

Seen: 243 times

Last Updated: Aug 13 '12 at 08:01 PM