How can everyone achieve collision detection?

How can everyone achieve collision detection?

Directly using hitTestObject?

Or should we use the box2d library?

I have used Box2D successfully for collision detection. I think that would be better if you have a lot of objects to test.

1 Like

I personnaly use this GitHub - snowkit/differ: A separation axis theorem collision library for Haxe.
It’s only for collision, not physics.

1 Like

To simplify collision detection for bitmap I used this.

1 Like