Rect/containsPoint and collider components

Hi there,

I’m working on a game that requires the use of rectangle, circle, and polygon colliders (Using CC version 2.x). I read the forum post about not using the physics engine to keep things simple. Using that approach, I was wondering if you need the non-physics collision system to make rect and containsPoint work for collisions other than just rectangle to rectangle collisions. There seems to be no circle or polygon version of the getBoundingBox method.

As far as I know, a non physics world only works with AABB intersections. So rectangle with rectangle. If you want to set a collision with a circle you should implement it your self( but I might be wrong).

That’s good to know, thanks. I’ll be using the physics engine then.