This project has moved. For the latest updates, please go here.

Collision Logic?

Jan 3, 2008 at 1:36 PM
hi guys, first off great work. really good api here.. i just have a quick question.. i dont usually resort to this but i'm pretty much running out of time. When the simulation updates is it possible to get a list of all objects that have collided with eachother so i can process the logic behind the collision? e.g. cause damage or whatever? or is there a delegate or soemthing thats called for each collision? i've been running through this but i cant seem to find out how its done. Thanks.
Jan 3, 2008 at 4:33 PM
There is a delegate in the Geom class. I can't remember the exact name... HandleCollision or something like that.

This will give you all the collision details per collision.

I'm at work so I don't have access to the code.
Jan 4, 2008 at 6:05 AM
ok cool got it. thanks, its CollisionHandler, thanks a lot. u pwn