Box collider on terrain

Hi, I have a desire to determine if a box collider is in contact with a terrain. Then tell a script controlling the box collider that it is either on the ground or not.

Sorry if the question is a little vague, but I have been scouring the web for example code and can only find reference to wheel colliders.

Take a look at a basic WPSwalker script and you will see a good way to check if your grounded. Or you can just use OnCollisionEnter and OnCollisionExit with the tag system.