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 / determining camera position

Author
Message
Grenadiac111
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location:
Posted: 11th Jan 2010 05:42
Im tying to test for the camera position relative to an object position, but i have no clue how to get the seperate x, y, and z positions of the camera. Can someone please tell me what command(s)
i need to get the camera position. P.s. in my code the command used to find the cammera position needs to be able to send the camera position to three seperate integers (camx, camy, camz).
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 11th Jan 2010 06:43
dbCameraPositionX()
dbCameraPositionY()
dbCameraPositionZ()

They return floats.

Grenadiac111
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location:
Posted: 11th Jan 2010 22:22
thank you i couldn't tell by the include file if those commands were input or output.

Login to post a reply

Server time is: 2024-10-01 20:15:41
Your offset time is: 2024-10-01 20:15:41