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 / ATTACHING A SKYBOX (or anything for that matter) TO THE CAMERA!!!

Author
Message
Xoddam
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location:
Posted: 19th Mar 2009 02:51
I have tried quite a bit and failed every time when I tried to attach an object to the camera so it moves when the camera does. Does anyone know how this can be achieved?
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 19th Mar 2009 18:32
set the object's x y and z positions to be the same as the camera's...
Xoddam
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location:
Posted: 21st Mar 2009 05:38
by doing something like:

(Lets call the object 3)

dbPositionObject(3,dbCameraPositionX(),dbCameraPositionY()
dbCameraPositionZ());

is that what you meant jezza?
Xoddam
15
Years of Service
User Offline
Joined: 9th Mar 2009
Location:
Posted: 26th Mar 2009 01:35
ok yeah jezza that worked thanks

Login to post a reply

Server time is: 2024-09-30 21:20:26
Your offset time is: 2024-09-30 21:20:26