How can I implement such collision system?

I have created such system:
imagebam.com
Only Modules are displayable and physics objects

Now, I need to implement such collision detection which works like on picture below:
imagebam.com
That is I need to move entire Cloud as result of collision of modules and no rotation is allowed

I have tried Joints, ” body.isFixedRotation” attribute, Pre and Post collisions handlers but nevertheless I have such result:
imagebam.com

Can someone help in resolving problem? [import]uid: 71770 topic_id: 14713 reply_id: 314713[/import]

Hmm, not entirely sure.

Maybe use:

obj:setLinearVelocity(Xvalue,Yvalue)  

Though you’d need to convert the impact angle of the initial collision module into an x/y value for the resulting velocity of the cloud.

[import]uid: 67933 topic_id: 14713 reply_id: 54887[/import]

Also post up some code to demonstrate how you are currently handing it, then we can modify it to suit. Faster than writing a solution from scratch :slight_smile: [import]uid: 84637 topic_id: 14713 reply_id: 54940[/import]