Alternative to OnCollisionStay?

I’m trying to detect a collision between the player, a box collider and a charactercontroller, and a platform. However, for some reason the engine won’t detect collisions based on the box collider. So instead of OnCollisionEnter, I’m having to use OnControllerColliderHit. This is fine for that, but there isn’t any OnControllerColliderStay, which is what I need.

Is there an alternative to OnCollisionStay? Also, why aren’t collisions being detected through the box collider? How can I get them to be detected?

Hi @Manyula

Make sure that the GameObject with OnCollisionEnter has a RIGIDBODY attached to it

Code sample to debug

private void OnCollisionEnter(Collision other)
    {
        Debug.Log("Collided with " + other.gameObject.name);
    }