Is it possible to stop two objects/colliders/rigid bodies from exterting force on each other while still checking for collisions between them?
I know you can do that by checking 'Is Trigger' property on the Collider2D component but if I do that the object will no longer stand on the platform and falls down.
I know you can use Physics.IgnoreCollision but the problem is I do want the collision to take place and I'm checking it through OnTriggerEnter method. I just want to objects to stop exerting force on each other like dragging other with it.
Think of it as a classic arcade platformer games where enemies can kill player by colliding with it however passes through it. Or for a short period of time make it invincible at the start of the game.