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 Professional Discussion / Possible get object collision bug?

Author
Message
Oliver
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 16th May 2003 00:13
Hello ,
Below I have posted a code which...

In DB: When two objects collide, get object collsion x returns a value which can be used for collision.

In DBPro: It detects the hit, but get object collsion x returns 0.

Is this a bug , or just the code :-s in which case what's wrong?

Thanks
Oliver
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: Switzerland
Posted: 16th May 2003 20:40
Well I didnt get any replies, perhaps you people arn't interested, or perhaps you dont know. Anyway I figured that there is a bug if you use object collision(id,0) for all objects (ie with a 0), so if you wont to use get object collsion x() you have to specify each object like this:

object collision(id,2)
object collision(id,3)

Hope it helps

Login to post a reply

Server time is: 2026-07-11 03:37:38
Your offset time is: 2026-07-11 03:37:38