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 / Collision dll - Am I missing something?

Author
Message
Yoshiman1
21
Years of Service
User Offline
Joined: 12th May 2004
Location:
Posted: 14th Dec 2004 11:57
I'm using the DBCcollision dll, and my code isn't making my objects collide AT ALL. He just falls right through it. I'm included the source, and the function to call the dll.
Joe Cooning
22
Years of Service
User Offline
Joined: 29th Mar 2003
Location: United States
Posted: 14th Dec 2004 21:45
when you call for intercept object, you ask it to check for object group. Where do you say what variable group is? Make sure your calls are correct. Also, considereing you are checking only one small point for collision, chances are you'll never collide. check for ypos+15 and ypos-5. Then check if there is a collision, if there is, find where and set things with that.

Login to post a reply

Server time is: 2025-05-24 10:27:24
Your offset time is: 2025-05-24 10:27:24