Make rigidbody immovable?

When a sprite with a box collider 2d hits the game object (rigid body),

the collision detection is fired and I get the event.

However, the sprite moves the rigidbody and I have trouble restoring it back.

I tried to create a collision detection without ridigbody but without success.

Is there a way so that the ridigbody is never moved?

Hint: I can’t make it static, since the rigidbody becomes immovable.

isKinematic

–Eric

1 Like