Help with smooth collisions

Hello!
Please help!
How to reach smooth object collision?
I made ‘body1’ took ‘coin1’ (going through coin) but sometimes it stuck and cling.

I use postCollision on coin1 if event.force>0 and then remove.self.

Maybe can help collision without physics?
Thank for your advise!

Michael
[import]uid: 173575 topic_id: 36056 reply_id: 336056[/import]

To avoid objects from sticking to each other you can reduce their friction value to 0. Be aware that this must be done when you call physics.addBody()

If you use preCollisions you can modify the friction value for the time of that collision.

http://docs.coronalabs.com/api/library/physics/addBody.html#friction-optional
http://docs.coronalabs.com/api/event/collision/index.html [import]uid: 8271 topic_id: 36056 reply_id: 143229[/import]

To avoid objects from sticking to each other you can reduce their friction value to 0. Be aware that this must be done when you call physics.addBody()

If you use preCollisions you can modify the friction value for the time of that collision.

http://docs.coronalabs.com/api/library/physics/addBody.html#friction-optional
http://docs.coronalabs.com/api/event/collision/index.html [import]uid: 8271 topic_id: 36056 reply_id: 143229[/import]

To avoid objects from sticking to each other you can reduce their friction value to 0. Be aware that this must be done when you call physics.addBody()

If you use preCollisions you can modify the friction value for the time of that collision.

http://docs.coronalabs.com/api/library/physics/addBody.html#friction-optional
http://docs.coronalabs.com/api/event/collision/index.html [import]uid: 8271 topic_id: 36056 reply_id: 143229[/import]

To avoid objects from sticking to each other you can reduce their friction value to 0. Be aware that this must be done when you call physics.addBody()

If you use preCollisions you can modify the friction value for the time of that collision.

http://docs.coronalabs.com/api/library/physics/addBody.html#friction-optional
http://docs.coronalabs.com/api/event/collision/index.html [import]uid: 8271 topic_id: 36056 reply_id: 143229[/import]