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

Overlapping bodies sticking to eachother

Topics: Developer Forum, User Forum
Mar 29, 2011 at 1:18 AM

I'm trying to create a burst effect by creating multiple bodies with the same shape at the same position, and each of them is supposed to fly off in a random direction.

My problem is, when I create all the bodies simultaneously, they all bunch together and move as one. 

I'm not really sure how to solve this, but so far I have all the bodies with CollisionCategory = Category.Cat9; CollidesWith = Category.None & ~Category.Cat9; and isSensor = true.

(I tried doing it with isSensor = false but then they all just go in the same direction while beside eachother)

What can I do so they don't stick together?