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 / Collision... Again :p

Author
Message
Tiborko
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: In front of computer
Posted: 16th Aug 2008 16:47
After great efforts, and trying to understand syntax of Sparky's sliding collision, I couldn't solve my problem.
I made simple program where character in first person walks inside room. I cannot make him not to walk thtough walls. Here is my code:



Can anyone modify this code to make my character stay inside room? I use Sparky's dll for collision...
Thank you...
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 16th Aug 2008 17:20
Use this, it was infintely useful when I used it: http://forum.thegamecreators.com/?m=forum_view&t=89539&b=1

Don't you just hate that Zotoaster guy?
Tiborko
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: In front of computer
Posted: 16th Aug 2008 20:00
I used that, but when I put function at the end of program nothing happens... I can still go through them...
Deego
16
Years of Service
User Offline
Joined: 21st May 2008
Location:
Posted: 18th Aug 2008 21:56
Did you put DELETE MEMBLOCK 1 at the bottom of the code?
Tiborko
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: In front of computer
Posted: 24th Aug 2008 23:02
I did... I think I found what is the problem... I should change camera looking commands because in my case z rotation of my object is always zero...

Login to post a reply

Server time is: 2024-11-25 18:56:10
Your offset time is: 2024-11-25 18:56:10