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 / help with gravity and gun placement on character

Author
Message
cdiddy
15
Years of Service
User Offline
Joined: 16th Feb 2009
Location:
Posted: 17th Feb 2009 20:57
i just can't figure out how to do gravity and gun placement in a 3d map. and how do i get the camera to be first person witha character so that he can move?

heres my code so far any help is very much apreciated.



nubs
cdiddy
15
Years of Service
User Offline
Joined: 16th Feb 2009
Location:
Posted: 18th Feb 2009 04:26
plz can someone help me with gravity.

nubs
prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 18th Feb 2009 11:42 Edited at: 18th Feb 2009 11:42
Every frame (I would put it just before "dbSync();"), do this:



and below "please wait, loading map" put:


it should go down now.
cdiddy
15
Years of Service
User Offline
Joined: 16th Feb 2009
Location:
Posted: 18th Feb 2009 14:00
thanks man however now my camera is just stuck on the ground and i can't move it.

nubs
Gatorules
15
Years of Service
User Offline
Joined: 17th Dec 2008
Location:
Posted: 18th Feb 2009 22:12
then make the gravity less or jump higher

Login to post a reply

Server time is: 2024-11-25 15:32:09
Your offset time is: 2024-11-25 15:32:09