Page 1 of 1

Shooting Question

PostPosted: Thu Jun 21, 2007 8:36 pm
by fatouraee
is it possible to create a rocket like motion in GE.
what physics would you use if yes.
what i mean is when you shoot a rocket in an angle it will continue and arc down to the other side like a mirror.


...............................
...... ....===.............
..... ==........==.......
..==................==...
..............................


Thank You.

PostPosted: Fri Jun 22, 2007 3:46 am
by jimmynewguy
you could have under draw actor for the rocket
Code: Select all
yvelocity += .5;
xvelocity +(or)minus = .2;
(values can be changed to fit how big)
so it will go down and (+)right/(-)left and have the rocket shoot along a path that goes as high as u need (make sure that when it finishes its path that it changes the path to none) and that should probably work :D

PostPosted: Fri Jun 22, 2007 11:41 pm
by Game A Gogo
that will only make the rocket fly down, not launch it.
to launch it, add this in the create actor:
Code: Select all
yvelocity-=2;