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 / Camera not moving

Author
Message
negi
13
Years of Service
User Offline
Joined: 16th Feb 2011
Location:
Posted: 22nd Aug 2011 22:20
I am trying to make a camera class but when I call the functions the camera doesn't move can anyone tell me why.

Here is the code




All is revealed with time.
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 22nd Aug 2011 23:41
Move the camera? +/-= calcs above the call to dbPositionCamera calls. See if that helps. you're positioning your camera in the exact spot you took the values from and then adjusting the values. You want to adjust the values before positioning your camera to the new location.

Regards,

JTK
negi
13
Years of Service
User Offline
Joined: 16th Feb 2011
Location:
Posted: 23rd Aug 2011 00:25
Thanks so much it works now!!!!!!!

All is revealed with time.

Login to post a reply

Server time is: 2024-10-02 19:22:04
Your offset time is: 2024-10-02 19:22:04