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 / How to prevent walking up walls/hills

Author
Message
Furious Dre
16
Years of Service
User Offline
Joined: 9th Nov 2008
Location:
Posted: 10th Nov 2008 06:39
Like in the Dark GDK Terrain tutorial, you can walk up the hill...how do you prevent that? Like...what's the syntax.

Just learning how to use the engine, every time I figure something out a new problem arises =\
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 10th Nov 2008 11:31
I havent tried that yet but I think it should be like:

Save old position
Move player
If the new position has to high angel than old move player back

sync

Niels Henriksen
www.tales-of-the-realms.com
if Microsoft can sell software with bugs, so can I.
The Real Abaddon
16
Years of Service
User Offline
Joined: 26th Jun 2008
Location:
Posted: 10th Nov 2008 13:06
Sparky`s collision has a demo of this named sliding demo using his collision library if you want to have look at some code, search on this forum for "dbp collision" without "

Login to post a reply

Server time is: 2024-11-25 07:38:36
Your offset time is: 2024-11-25 07:38:36