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 / Rotate Camera after 300 milliseconds?

Author
Message
Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 27th Sep 2009 14:53
Hey,

I am adding some effects to my fps camrea, and i was wondering if it is possible to do it like if you are walking then the camera turns (dbRollCameraRight) to the right hand side, and after 0.3 sconds (still walking) it turns to left with a force of 0.5 (dbRollCameraLeft).
My thought was with a timer?

Thanks,

Red Eye


Red Eye
16
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 28th Sep 2009 08:24
Anyone?


Mista Wilson
16
Years of Service
User Offline
Joined: 27th Aug 2008
Location: Brisbane, Australia
Posted: 28th Sep 2009 10:41
Probably not a timer, you would want to base it off how far the camera has moved, with your roll force being decided by how far the cam has moved, otherwise, you would have a camera that looked like it was walking when it wasnt.

To see something similar in action, have a look at Dark Dungeon example that comes with GDK, it does something similar

If it ain't broke.... DONT FIX IT !!!

Login to post a reply

Server time is: 2024-11-25 00:38:29
Your offset time is: 2024-11-25 00:38:29