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 / Object Collision Order

Author
Message
KuRi
22
Years of Service
User Offline
Joined: 8th Feb 2003
Location:
Posted: 24th Feb 2003 22:59
Suppose you have the next code:
obj = Object Collision (id,0)
while (obj)
Move (...)
obj = Object Collision (id,0)
endwhile

What is the order of the objects returned. For example, if the id object is colliding with objects 5,8,13, is this the order that the function Object collision returns them?

This would be very useful for Type Objects
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 24th Feb 2003 23:21
you can only collide with 1 object at once, it will return only 1 number

Darken the skies, we are God.
KuRi
22
Years of Service
User Offline
Joined: 8th Feb 2003
Location:
Posted: 25th Feb 2003 15:40
don't misunderstand me please. I use slide collision, then when i collide with an object, y move the main object until is not colliding with it, then i check again the collision to see what is the next object collision...

Login to post a reply

Server time is: 2025-05-20 04:57:57
Your offset time is: 2025-05-20 04:57:57