How to prevent my player from falling through my terrain?

For the terrain the “terrain collider” is on. For my player I put rigibody on it and it still goes through my terrain. How can I fix this?

Select your character controller in the inspector and in the rigidbody component for the character go ahead and freeze the rotation and position on x,y, and z. That should keep your character from falling through the ground.

Add a rigidbody to the terrain as well. That should fix it :smiley: