This project has moved and is read-only. For the latest updates, please go here.

Collisions only with same Geoms

Feb 11, 2010 at 8:50 PM

Hi (sorry for my english),

I create a breakout.

All collisions with Geoms (ball,brick,player) created statically are OK.

But when i create dynamically CircleGeoms(bonus items), i can see with the PhysicsSimulatorView that CircleGeoms (bonus items)

will collide only with other CircleGeoms (as the ball) but not with RectangleGeoms (player, brick).

 I try to change some properties(CollisionCategories,CollidesWith...) but nothing works.

Can you help me. Thank you.



Feb 11, 2010 at 9:49 PM

Hi ,

 I found.

 If Body.IsStatic=true in the constructor then the problem remains.

With Body.IsStatic=false (default) it's ok.