Help with first person controller

Hello people. I’m very new into Unity and I’m starting my first terrain project as a test.

I am reading thought this tutorial , and now I’m on the “first person controller prefab” part.

When I drag the FPC into my scene and press play to try to walk around, the FPC simply goes through the terrain and I can not walk with the controller. I’m sure this was asked MANY times because I’ve tried to found help online and have seen many forum threads about this but I have no simple answer for this problem. I know it’s something to do with “collision”. But I can not for the life of me find the answer to fix this problem.

What do I need to do?

Thanks

wrong section but make sure the player is tagged player and above the terrain

Make sure the colliders aren’t overlapping initially. If they are, they won’t collide. Also make sure the game has unreasonably high gravity and your computer isn’t running at an unreasonably slow frame rate, as the collision may happen but not be registered.

It’s still not working. I just drag it and it just goes through the terrain.

HOW do I make sure it has a collider?

Ok, I’m using this tutorial

I did it step by step, and I uploaded what I have.

But I’m STILL FALLING THROUGH. What’s the problem?:?

BUMP

There’s your problem right there. Dragging within the editor is not the same as in-game control. The editor doesn’t register colliders. Press play to test the game out. The built in first person controller uses a character controller, which has a rigidbody and collider already. If you are making your own character controller, make sure it has a rigidbody and collider by going to the “Component” drop down, then “Pshysics” drop down, and then “rigidbody” and “Collider.”

I just tried it and it’s still not working. I’m just going to download a source file from here since that works because this is ridiculous

In your attached image, is that one massive cube collider around the whole terrain? If so, that’d be your problem. Your terrain collider should be a mesh collider, not a box.

As a quick test, move your player character right above that big green cube and press play. If you can walk around on top of it, the box collider is your problem.