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.

Code Snippets / Orbit - math

Author
Message
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 15th Oct 2005 13:30 Edited at: 15th Oct 2005 13:32
Hello everyone,

I tried this snippet a couple of times before but I couldn't get it to work.
And now it works!
(I think it's because I got a hard bang in the face and broke my nose)



This function shows how to calculate a point on an orbit around a center (cx#,cy#,cz#) at a given angle (angy#). The maxangz# variable determines the zrotation of the orbit. And you can use the dist# variable to determine the total distance to the center.

EDIT: It's written in DBP but the function will also work in DBC.

Immunity and Annihalation makes Immunihalation...
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 15th Oct 2005 17:52
Nice Job Sven... hey I dont see you on MSN at all
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 15th Oct 2005 19:33
Weird huh...

Maybe because I don't come online much lately.

I'll try to come online more often.

Immunity and Annihalation makes Immunihalation...

Login to post a reply

Server time is: 2025-05-16 08:06:37
Your offset time is: 2025-05-16 08:06:37