Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Difference between CurveAngle and CurveValue

Author
Message
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 20th Feb 2006 03:33
Just wondering what the difference between these 2 commands is, logically one should be used for Angles and the other for any standard Value, but as far as the command is concerned, if you give them the same input values, they both return the exact same results. Am I missing something, here? Thanks.


"Computers are useless, they can only give you answers."
driftman
19
Years of Service
User Offline
Joined: 7th Aug 2005
Location: Somewhere Outside of Sanity
Posted: 20th Feb 2006 05:15
hmm... good question, but i found that if you do this
curvevalue = 12.1000003815
and
curveangle = 0.100000023842

maybe curveangle is based off of a 360 degree rotation, dunno

I have a lil' white jacket that lets me hug myself forever.
Dave J
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 20th Feb 2006 11:52
You could be right there, I will investigate more, thanks.


"Computers are useless, they can only give you answers."
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 20th Feb 2006 18:47 Edited at: 20th Feb 2006 18:47
CurveValue() is for getting an interpolated value of any two numbers, and CurveAngle() is for getting an interpolated value between two angles.



This program uses CurveValue() for the ball to move from left to right, and CurveAngle() for the box to rotate on the right.

FunkyStickmen: Battle of the Races (1%)

Login to post a reply

Server time is: 2024-09-24 17:28:59
Your offset time is: 2024-09-24 17:28:59