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 / Object rotating around central point?

Author
Message
Tomgrazz
15
Years of Service
User Offline
Joined: 14th Oct 2009
Location:
Posted: 16th Oct 2009 03:22
So I have 5 objects in total in my start menu, and upon a certain inkey I want the 4 outer objects to rotate around the 5th object, looks like this:


X

X 0 X

X

And I have absolutely no idea to go about this. Any suggestions?
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 16th Oct 2009 20:14
I think this is what you are looking for:


Press 'G' to rotate them. Press 'S' to stop them from rotating. Press the Spacebar to exit.

Hope this helps,

LB

So many games to code......so little time.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 18th Oct 2009 18:38
There are also 43 more threads related to orbiting, it's a common question and there are several solutions.

Login to post a reply

Server time is: 2024-11-25 01:43:31
Your offset time is: 2024-11-25 01:43:31