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 / how would you jump cuz im stumped

Author
Message
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 2nd Sep 2004 08:23
yes how would you jump in 3rd person?

www.freewebs.com/dragonseige/
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 3rd Sep 2004 03:30
Well, you need two things

1. A gravity based system(if an object goes up, it must fall again)
2. A collision system(otherwise your player will fall through the floor)

set up the gravity for your player and make sure there is a collision system between your player and the ground. then, it is simply a matter of propelling your object into the air, something a bit like this:



you would also need to include the JumpStatus variable in your gravity system to make sure that the player wasn't pulled back down every time The player jumped higher.
gothboy 101
20
Years of Service
User Offline
Joined: 31st May 2004
Location: Watonga, ok, usa
Posted: 3rd Sep 2004 07:04
ok thanks i can take it from here

www.freewebs.com/dragonseige/
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 6th Sep 2004 04:59
glad to help

Login to post a reply

Server time is: 2024-11-27 08:40:07
Your offset time is: 2024-11-27 08:40:07