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.

DarkBASIC Discussion / Help With sparky collision DLL

Author
Message
Dom
20
Years of Service
User Offline
Joined: 31st May 2004
Location:
Posted: 12th Dec 2004 19:14 Edited at: 12th Dec 2004 19:15
Im using DBC and im trying to use the dll to increase the Frame rate.
Here is my code


But the guy still goes through everything! Can someone help me use this DLL Properly!

Edit:
Oh yeah if I can get collision working with a good frame rate I can release a demo!

DRAGONFIRE STUDIOS
Lead Programmer
(The Studio being my front room)
Joe Cooning
22
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 13th Dec 2004 00:17
What happens is you person collides with the wall, is then positioned where he collides with the wall, and when you get the next x and z value, it doesn't go through the wall because you are already on the wall. Try what i told you the earlier sliding collision post you made. You have to judge x and z seperately for it to work.

Login to post a reply

Server time is: 2025-05-24 08:47:06
Your offset time is: 2025-05-24 08:47:06