I have an OOTB terrain (GameObject > 3D Object > Terrain)
-Terrain Collider component
I have an OOTB sphere (GameObject > 3D Object > Sphere)
-Sphere Collider component
I have this script attached to the sphere:
void OnCollisionEnter()
{
// do something
}
The sphere intersects the terrain; code does not trigger.
Why? What do I need to have them collide? I tried having the sphere hit a cube and it won't work either.