- Home /
Character falls halfway through terrain
So a couple hours ago I set up the bootcamp soldier model so that the spine would move up and down with the camera. After doing this I set up a character controller and an input controller on the soldier, as well as a mouse look script. The problem is that whenever I press the play button, the player automatically drops halfway through the terrain. I believe that part of he problem is that the input controller thinks that the player is grounded when really it is around waist deep into the terrain. The character will still move left right back and forth as well as jump, but will always fall back waist deep into the terrain. Any help on how to fix this would be much appreciated.
You need to change the offset of the collider so that the base is at the soldier's feet.
Well, you see your collider component in the inspector? $$anonymous$$ess around with the numbers there until you understand what they all do. In fact, If I were you, I'd have done that before posting anything here.
I have already done that, Im not THAT new I guess I didnt notice when I changed them to the correct value
Answer by rad1c · Apr 08, 2016 at 12:03 PM
http://answers.unity3d.com/questions/398465/character-falls-thru-to-his-waist.html See Emericanized's answer - that sorted out the issue for me. Basically, it's the model which was poorly implemented (joints/animation/etc), not a "coding level" issue
Answer by Punfish · Aug 29, 2017 at 05:08 PM
Also make sure you didn't lose your animation references. Sometimes if you rename animations or move them around their reference is lost in mechanim and you'll experience the same behavior. This is generally noticeable when your character animations no longer work properly as well.
Your answer
![](https://koobas.hobune.stream/wayback/20220613063306im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Character floating after walking up higher terrain/object 1 Answer
Make a simple tree 1 Answer
CharacterController makes player game object fall through generated terrain. 1 Answer
Animating character around terrain on preprogrammed route without players control 0 Answers
bullet collision with Terrain and Character Collider doesn't work in very fast speed 2 Answers