Collisions
Posted: Wed Jun 04, 2008 11:06 am
Hello.
Does anybody know how to test if two Entities have collided?
I've found the Toolbox.areObjectsColliding method but it slows down too much when called more than 100 times per frame.
I want something usable so that I can detect collisions between players and bullets and subtract health etc.
Thanks.
Does anybody know how to test if two Entities have collided?
I've found the Toolbox.areObjectsColliding method but it slows down too much when called more than 100 times per frame.
I want something usable so that I can detect collisions between players and bullets and subtract health etc.
Thanks.