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 / objects not rotating

Author
Message
takachi
21
Years of Service
User Offline
Joined: 30th May 2003
Location:
Posted: 15th Jun 2003 11:24
can anyone suggest to me why the attached code snippet does not work?

To answer the first questions that i will receive answers to, yes, I have created 50 objects with the numbers 1 - 50 assigned to them, and yes i have turned sync on, but to me this says to rotate each object by 5 degrees in x, and it seems to mean something different to DB... please help.
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 15th Jun 2003 15:34
No, you are are rotating the angle TO 5 degrees!

Do something like:

xrotate object a,wrapvalue(object angle x(a)+5)

Gronda, Gronda
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 15th Jun 2003 17:42
the rotating code is fine as long as its in the main loop, the problem is the line 'while not spacekey' which should read
while spacekey()=0

ARE YOU A 3D MODELER??? IF SO WE NEED YOU!!!
EMAIL mynameisnoneofyourbuisness@hotmail.com to work on the new Star Strike project!!!
xmen
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location:
Posted: 16th Jun 2003 03:20
try this

Login to post a reply

Server time is: 2024-11-24 16:35:05
Your offset time is: 2024-11-24 16:35:05