Quote:
the horizontal movement speed keeps the same (moves
horzspeed=cos(zangle)*speed tiles all 0.05 seconds), the vertical speed is
initialized as vertspeed=sin(zangle)*speed and is decreased by 0.1 all 0.05 seconds;
then the new position (calculated all 0.05 seconds) is
newx = x + cos(angle)*horzspeed, newy = y - sin(angle)*horzspeed,
newz = z + vertspeed
|
is speed the power in shoot x,y,z,angle,zangle,power,gani,params or is it something else?
I think I remember trying to replace speed with power and it didn't work and I don't really want to try it again when it is the wrong answer...
so before I try again I want to find out for sure if speed is the power or if it is a different variable