My character falls through the terrian

Hi Guys

I'm pretty new to Unity3D but loving it, I'm using version 3. I'm making a 3rd party game I have a character made in Studio Max which is placed on my terrain with a character controller and script added. THe character is off the ground and placed at 0,0,0 but it keeps falling through the terrain.

Can someone help please?

If your character falls through the floor.

  1. Check if your character is above the level of the floor, if the character is intersecting with the ground, normally they will drop through and fall.

  2. Check your character has a colider

  3. Check if your landscape:ie the floor your character walks on has a colider

    If Your landscape has been imported from a 3D package ie: maya or max etc. Look at the hierarchy and find the model. for example landscape. look at the properties and select generate coliders then go to apply. You may have to delete the landscape from the scene and re-drag it from the hierarchy for any changes to be made.

  4. If your character still falls through the ground it's probably the capsule colider on the character, try inputting a standard FPS controller or third person controller and see what happens with them. If they do function correctly then it is something to do with your character try re-importing the file and add the appropriate physics to see if it works.

Tip: Dont use a mesh collider very high usage of the cpu. Use a casual colider and ensure the character is inside of the green area.

Verify that Is Trigger is enabled, if you turn off, at least if you have no script you can use this option

Check the bottom of the collider. If the bottom clips through the terrain even a little you'll fall through all the way. An easy way to test this is by pulling it way above the terrain and letting it fall to see if it still falls through the terrain. The other thing you should check if this doesn't work is that the 'terrain collider' component on your terrain is not set to a trigger.

You could possibly try putting a collider on your terrain by going selecting your terrain, Choosing "Component > Physics > Mesh Collider" and make sure the terrain is not set to a trigger or you will definately fall through.

i ran into the same problem

you can see it here

http://www.youtube.com/watch?v=HFxIqHIcg_M

Can anybody help regarding that matter, i tried all what have been said , the terrain has a collider and the character has a collider and a rigid body and there is not trigger on and tha character is above the ground. although all of that , i am still having problems with it . as the characters fall through the terrain.

i have two characters Goober the big character and another avatar they both fall through the terrain. not only that that other avatar which i have three of it had some deformations as its shape changed and i don't know why is that. i also tried adding three spheres that has rigid bodies they fall but stay still in their places as shown in the video

Guys, problem solved.. maybe.. I think this all is because i dont have Splat Alpha 0 on my project window.. So Project window > New terrain (can be numbers after terrain)..

So there needs to be arrow that expands view, and there should be "Splat Alpha 0"..

And i dont have, so i have same problem.. That can fix the problem

Enemy Character Going Half-Way Through Terrain : SOLVED
Even I had ran through the same problem.
My enemy character is to perform all the activities on terrain.
The character wasn’t falling through the terrain completely, but when chasing the player, it would go half-way through it.
I had experimented it with things like adding box-collider, adding mesh-collider…but none worked.
Finally I removed all the components that I had added to the character (Mesh-Collider etc…). Changed rest of the settings back to default. Adjusted the character-controller as per the character’s height and size and just added a ‘Character-Motor Script’ to the character object. And Voila!
It worked perfectly fine! (Why hadn’t I done that before) Now my enemy character walks on the terrain as it should and doesn’t go half-way through it.