Cannot separate object compeletely


#1

Hi, I am making a game but I stuck at one point I cannot separate one object from other compeletely. When my object 1 get collide with object 2 it should seperate object 1 from object 2(won’t move) but my object have force so when I click my object 1 get collide with object 2 and then again and again when clicked my object gets over another with a force so problem came that as my object 1 get over another object 1 so the object 1 start overlaping object 2 after I have added action to stop the object 1 when collide with itself.

The object 2 is platform.


#2

Sounds very much like my problem here:
https://forum.gdevelop-app.com/t/solved-how-do-i-correctly-separate-objects-after-collision