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.

Dark GDK / random terrian bug- help!

Author
Message
Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 17th Aug 2008 17:43
I have a terrian with objects all over it but i want to make them rotate. I included this command:
for ( int i = 1; i < 50; i++ )
dbRotateObject ( i, dbObjectAngleX ( i ) + 0.1, dbObjectAngleY ( i ) + 0.2, dbObjectAngleZ ( i ) + 0.3 );

but instead of rotating the objects, the whole terrian is rotated! help!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 17th Aug 2008 17:54
A terrain is an object - you've given it an object ID in the range of objects that you are rotating.

Wikaman1
16
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Scotland
Posted: 17th Aug 2008 18:06
thanks for the quick reply, this issue has been sorted now.

Login to post a reply

Server time is: 2024-09-30 05:41:31
Your offset time is: 2024-09-30 05:41:31