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.

Newcomers DBPro Corner / Adding gravity to the camera ?

Author
Message
Bigsnake
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: England
Posted: 17th Aug 2010 03:19
I've been trying to add gravity to the camera so it says on the ground and not in a noclip mode.

Here is the code for just the camera :





This is the setup to noclip. Also note im using evolved's camera code so I will have to give the credits to the code for him. The map is a mapscape .dbo file and doesn't have any collisions yet, i'm acturly adding the collisions as I speak so that's not rly a major problem.

Thanks for any help

Windows 7, Amd Athlon 7750 Black Editon (64 bit,3ghz + Dual Core), ATI Readon HD 4870 1gb Edition, 4gb Ram.

Login to post a reply

Server time is: 2024-09-28 20:23:19
Your offset time is: 2024-09-28 20:23:19