Collider2D.IsTouching not working?

I tried to detect collision between two arbitrary game objects in my game (player and crate) using player.collider2d.IsTouching(crate.collider2d). And this never returns true. Both objects are enabled and have Colliders2D attached. I’m not using any RigidBodies.

Is it broken or I’m missing something?

I’m not interested in using OnCollidionEnter2D. I’m curious about IsTouching.

You need to use rigidbody for so the player can collide with some object and if you are using Collision do not trigger the object :smiley: