Added CollisionFiltering Example (Box2D)

  ... information about changes and new features of AndEngine,

Added CollisionFiltering Example (Box2D)

Postby Nicolas Gramlich » Sun Oct 03, 2010 3:05 pm

Hello Community,

I just added the PhysicsCollisionFilteringExample and thought some of you might be interested in this. This example show how to make categories of objects that collide or not collide.

In this case Boxes will collide only with boxes and circles will only collide with circles.

Source: ...

Best Regards,
Nicolas Gramlich
Site Admin
Posts: 1734
Joined: Mon Jun 07, 2010 6:20 pm
Location: Schriesheim, Germany

Re: Added CollisionFiltering Example (Box2D)

Postby alex » Mon Oct 04, 2010 1:24 am

Thank you
Posts: 275
Joined: Thu Jul 01, 2010 8:21 pm

Re: Added CollisionFiltering Example (Box2D)

Postby albrandroid » Mon Oct 04, 2010 9:55 am

Great! :check:
Danke! ;)
Posts: 26
Joined: Thu Aug 12, 2010 9:17 am
Location: Vienna

Re: Added CollisionFiltering Example (Box2D)

Postby Radzell » Sat Dec 04, 2010 12:36 pm

I tried doing this could you explain how how it works so i can get a better understanding for my game.
Posts: 465
Joined: Sun Jul 04, 2010 8:52 am

Re: Added CollisionFiltering Example (Box2D)

Postby blandonfrank » Sun Dec 05, 2010 8:03 pm


Here's a nice explaination of collision filtering: ... filtering/

Note that in the tutorial/example it shows what the factory is doing in the background.
Posts: 298
Joined: Fri Jul 23, 2010 9:46 pm

Return to Updates

Who is online

Users browsing this forum: No registered users and 4 guests