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 problem

Author
Message
Yero008
13
Years of Service
User Offline
Joined: 5th Dec 2010
Location: Romania
Posted: 9th Feb 2011 21:19 Edited at: 9th Feb 2011 21:20
Hi,
I have a problem with the camera. When I descend a hill the camera goes through the object. I load the level once, as an object and this is it's setup SC_SetupComplexObject( groundlevel,1,2 );.This is what I use to position the camera:

I tried dbAutomaticCameraCollision ( groundlevel, 15,1 ); but it didn't work.
What can I do?
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 9th Feb 2011 21:34
If you've been using pitch, turn and roll commands then the ObjectAngleY isn't returned properly and the SetCameraToFollow doesn't function properly either.

dbSetCameraToObjectOrientation still works fine.

You can however fake camera follow something like this:



Warning! May contain Nuts!

Login to post a reply

Server time is: 2024-06-23 02:30:45
Your offset time is: 2024-06-23 02:30:45