making multiple "physics layers"

Hello,

We are developing a game using the physics UI and would like to have “layers” of physics… To illustrate the problem, imagine a ball that bounces on the sides of the screen, using physics. At the same time, there is another layer with other physical objects, say, crates falling and piling up on the ground (like the shapeTumbler example code). I want the ball on the different layer not to interfere with the crates (not to collide).

is there a way to do that?
thnx.
[import]uid: 79152 topic_id: 13873 reply_id: 313873[/import]

probably the easiest way to accomplish this is using collision detection filters, so the ball and the crates cannot collide, but the crates do collide with the ground etc.

For more explanation, look at http://developer.anscamobile.com/forum/2010/10/25/collision-filters-helper-chart
[import]uid: 49842 topic_id: 13873 reply_id: 50976[/import]

thanks for the input idealconceptz :slight_smile:

we’ll try this later on and come back with the results! [import]uid: 79152 topic_id: 13873 reply_id: 53449[/import]