Page 1 of 1

firing in an arc

PostPosted: Tue Oct 09, 2007 9:06 am
by elite
ok, i know how to shoot forwards in a straingt line on the X axis but I dont know how to fir in an arc. You know what I mean? I want my player to throw grenades but they will look really bad if he fires grenades in a straight line. Any suggestions?
Thanks again
twigser

Re: firing in an arc

PostPosted: Tue Oct 09, 2007 9:41 am
by Kalladdolf
just add some gravity to the grenade :D
Grenade -> Draw actor -> Script Editor ->
Code: Select all
yvelocity = yvelocity +1;

and:
collision -> any side of "ground" -> physical response //that it doesn't fall through the floor.

Re: firing in an arc

PostPosted: Tue Oct 09, 2007 11:29 am
by elite
oh WOW, i really shouldve thought of that! THanks :D :lol: :!: :mrgreen: :lol: :)