how to instantly check if two colliders overlaying?

Let’s say i have two colliders (any type of collider). I don’t want to make a rigidbody so that physics system can detect collision in next FixedUpdate and return the event to my other script. I want to immediately know if they are overlaying. What should i do?

Well, detecting collsions is part of the physics system. It’s not as trivial as you might think. If you don’t want to use the physics system, implement your own collsion detection if you want.

This might be helpful.

Good luck :wink:

I guess if you don’t care about false positives you could use Collider.bounds().

Why are you concerned about avoiding the physics system? After all it will call the appropriate methods the instant a collision is detected.