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 Physics & Dark A.I. & Dark Dynamix / Dark Physics: Timed Character Controller Displacement

Author
Message
HTF
17
Years of Service
User Offline
Joined: 10th Jan 2007
Location:
Posted: 11th Jan 2007 04:39
Hey all I would like a bit of help setting up my jumping using DP and the character controller displacement method. I have it jumping fine however if the player holds down the spacebar they jsut keep going upwards, so some kind of timer is needed to make it only work for 1/2 a second or so. I tried using timer() and all I would get is a small jump or no jump depending on the value I comapred it with.....

Here is the code for the jump without any timer:



Thanks in advance for any help.
HTF
17
Years of Service
User Offline
Joined: 10th Jan 2007
Location:
Posted: 11th Jan 2007 06:22
It sort of works using pacers like it was mentioned in the newsletter lol. But you can jump when in midair, which I dont know how to stop.



I need to play with the speed values though because at the moment you go up too fast and also drop like a stone.
Jammy
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 11th Jan 2007 11:29 Edited at: 11th Jan 2007 11:35
Hi,
I have posted my solution to the jumping problem here – in my nvidia entry – thread.

http://forum.thegamecreators.com/?m=forum_view&t=95085&b=32


look for the post on the 15th Dec and please reply there if it is useful or not.

this thread is also useful – though I find their solution fly’s rather than jumps.

http://forum.thegamecreators.com/?m=forum_view&t=87787&b=30

HTF
17
Years of Service
User Offline
Joined: 10th Jan 2007
Location:
Posted: 12th Jan 2007 04:32
Thanks for the help Jammy, now I have jumping, crouching, moving, strafing and running

Login to post a reply

Server time is: 2024-03-28 16:37:48
Your offset time is: 2024-03-28 16:37:48