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 / rotate help

Author
Message
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 1st Jun 2003 01:44 Edited at: 1st Jun 2003 01:45
if i use this code it seems to ignore the 3rd line or something



can somebody tell me whats the problem and how to solve it.

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 10GB HD, Riva TNT2 Ultra 32mb
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 1st Jun 2003 02:50
without spoiling it for you too much, there is no such command as rotate object left or rotate object right!!

Gronda, Gronda
Critters
21
Years of Service
User Offline
Joined: 11th Apr 2003
Location: United Kingdom
Posted: 1st Jun 2003 18:14
lol, too true

ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 1st Jun 2003 18:53
only a few changes, i think you may have got confused with the turn object right/left command, this is better to use!!!

wrapvalue part means the size of the angle will never be bigger than 360 or smaller than 0.

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 2nd Jun 2003 18:36
yea, what i meant was turn object left/right but my problem isn't solved yet. i can only rotate to the right now but i want to be able to rotate it to the left and right. plz help me out

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 10GB HD, Riva TNT2 Ultra 32mb
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 2nd Jun 2003 19:01 Edited at: 2nd Jun 2003 19:02
the code snippet i posted should rotate both ways depending on which way you move the mouse just copy the whol code below and it should work left and right.


or if you want to use the turn object commands:



or if you want continuous rotation if the mouse is off center:



hope that helps

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 3rd Jun 2003 20:19
it still doesn't works, i'm still just able to rotate only right :/

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 10GB HD, Riva TNT2 Ultra 32mb
Chiwawa
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Canada
Posted: 3rd Jun 2003 21:16
do you wear glasses?

...no? ...then you should
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 3rd Jun 2003 21:46
Here is some code i made i also posted it in the code snippets section hope it helps.

ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 3rd Jun 2003 23:09
did you try all 3 snippets exactly? just highlight copy and paste?? unless you want them rotating on different axis:

you are using dark basic classic/original version 1.13???

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!

Login to post a reply

Server time is: 2024-09-20 09:56:39
Your offset time is: 2024-09-20 09:56:39