View Single Post
  #1  
Old 06-26-2006, 01:13 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
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.
Reply With Quote