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 / spinning backwards

Author
Message
Chief Voyager
22
Years of Service
User Offline
Joined: 20th Mar 2003
Location: United States
Posted: 23rd May 2003 20:53
how can i yrotate an object backwards?
i've got something of a space sim, but my planets rotate in the wrong direction. i've tried using negative numbers, but i got an error saying that my numbers should be between 0 and 360. but when i tried 181, i got an error. here's my pertinant code:



thanx.
You're ate up like a soup sandwich.
Darksoft
22
Years of Service
User Offline
Joined: 17th Sep 2002
Location: United States
Posted: 23rd May 2003 21:00
Try this:

TH -Darksoft.net
Darksoft
22
Years of Service
User Offline
Joined: 17th Sep 2002
Location: United States
Posted: 23rd May 2003 21:01
In case you don't know about the 'source' button:



TH -Darksoft.net
Hell IVIonkey
22
Years of Service
User Offline
Joined: 1st Apr 2003
Location: Outer Limits
Posted: 23rd May 2003 21:18
If you don't need the exact angle at any given time, it's much nicer to use TURN OBJECT LEFT or TURN OBJECT RIGHT.

Chief Voyager
22
Years of Service
User Offline
Joined: 20th Mar 2003
Location: United States
Posted: 23rd May 2003 21:36
thanx for the help, can't believe i overlooked wrapvalue!

You're ate up like a soup sandwich.

Login to post a reply

Server time is: 2025-05-18 12:48:53
Your offset time is: 2025-05-18 12:48:53