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.

DarkBASIC Discussion / Are you good enough to handle this?

Author
Message
TGWDNGHN
17
Years of Service
User Offline
Joined: 2nd Oct 2002
Location:
Posted: 23rd Oct 2002 01:58
I made a Sun and made a planet revolve around it using a simple Pitch Object Left command...Now I want a moon to revolve around a planet...can someone give me a snippet where I can specify the x,y,z I want to revolve around, the x,y,z angle I want to revolve by and the distance away to revolve around?


Make it a Function
Chiwawa
17
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 24th Oct 2002 08:13
Hi ...i did some coding during 30 minutes to do that but its not finish ...i have the rotation on z and y who r finish but i cant get..the x ..rotation damn....ill check that for tomorrow..or later during week

this is the code:



Chiwawa
17
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 24th Oct 2002 08:22
Sorry it was not the good CODE this is the good:


Just past it in DB and run it...and try the touch "r" press it quickly to stop rotation or..to begin and..the upkey and right key for y and z rotation...but it is not finish..
ChipOne
17
Years of Service
User Offline
Joined: 12th Sep 2002
Location: Canada
Posted: 24th Oct 2002 18:33
this question is cross posted. there are 3 others (moi inclus) providing solutions as well at this thread:
http://www.darkbasicpro.com/apollo/view.php?t=1138&b=7

-= i only do what my rice krispies tell me to do =-

Login to post a reply

Server time is: 2020-08-13 19:08:10
Your offset time is: 2020-08-13 19:08:10