I'm trying to get a value to represent the climbing and falling back the to ground of an object. But my math skills are terrible.
As the object climbs higher I need it to slow down till it climbs to say, a value of 20 than begins to fall back to the ground speeding up till it reaches 0.
I've been experimenting with "curve value" and the "EXP" command and I'm not getting the values I would expect, heres what I tried with the "curvevalue" command---
Rem Project: math funtions
Rem Created: 9/5/2006 7:30:44 PM
Rem ***** Main Source File *****
sync on : sync rate 60 : COLOR BACKDROP RGB(0,256,0) : hide mouse
if check display mode(1024,768,32)=1 then set display mode 1024,768,32
DO
num#=CURVEVALUE(20, 1, .01)
PRINT num#
sync
loop
No matter what I change outside of the desination value makes no change. It always returns the desination value in the first loop of the program.
So to the math guys out there, Any insight on how to achieve such a curve? Or maybe I'm approaching this the wrong way? thanks for your time again M8's!
JABBER---->wearing the idiot cap!