Page 1 of 1

gun pointing angle

PostPosted: Mon Nov 03, 2008 12:35 am
by supa-tails
ok, I am making a game, and the dingle quad (the creature you play as) is equiped with various weapons throughout his journy, such as a sub-machine-gun, 9mm pistol, crowbar, shotgun, magnum revolver, minigun, and he shoots at where the mouse points. My question is how do I make him aim his gun up or down depending on where you mouse moves? (like in any fps) I have rotated sprites for him aiming his gun, I just don't know how to make it work.

Re: gun pointing angle

PostPosted: Mon Nov 03, 2008 7:37 pm
by Kalladdolf
I remember someone made a demo about this...
here.

Re: gun pointing angle

PostPosted: Sun Nov 09, 2008 8:35 am
by feral
or try looking at the example "abuse 2"

viewtopic.php?f=6&t=5189&p=36301&hilit=abuse#p34712