
06-26-2006, 01:13 AM
|
Banned
|
 |
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
|
|
Scripty mathy stuff
My head hurts.
Someone help me with this, or even work it out for me. ;-;
verticalspeed = sin(zangle)*s
verticalspeed -= .1 every .05 seconds
horizontalspeed = cos(zangle)*s
x = x + cos(angle)*horizontalspeed
y = y - sin(angle)*horizontalspeed
z = z + verticalspeed
zangle = -pi/10
initial z = 8
initial x = 0
initial y = 0
I need it so when z = 0, x,y = finalx,finaly
z = 0, x = finalx, y = finaly
;-; Help. |
|
|