Physics body no gravity and no collision

Hi,

I am having multiple physics bodies in my game. All these bodies are perfectly making collisions and all. Among them there two of the bodies, I do not want them to collide with any other body though still keeping them as physics body.
I want these two bodies to collide with each other only.

Secondly, I do not want gravity to be applied on one of the physics bodies. I have tried with linearDamping, by taking its value to 0 and some values in negative. But this isn’t working. Event if I set the value of LinearDamping = 0, it still takes a bit of gravity and keeps getting down.
Actually I want the object not be affected by gravity till it is on the stage.

Please help… its urgent

Thanks a ton
[import]uid: 129159 topic_id: 27510 reply_id: 327510[/import]

You’d set linearDamping to a HIGH value not a low value if you didn’t want gravity to have an affect.

RE collision, see collision filter sample code :slight_smile:

Peach [import]uid: 52491 topic_id: 27510 reply_id: 111964[/import]