- Home /
Hilarious Gravity defect i don't know how to fix
So after making a basic-ish enemy script and animations I tested it out and if I where to ever go higher in elevation they would just fly to me. So to simulate gravity i attached a character controller and character motor and when I hit play they all disappeared one by one,after a minute I discovered they had all fallen through the world if ever a slight incline in terrain were to ever come across them. Is there a way to stop this?, or a better solution.
Answer by Z171 · Sep 19, 2014 at 06:07 PM
i've solved by adding one more collider just at the bottom of the enemy, or you can try adding a rigidbody, freezing the z and x (i think but not sure) rotations
it sorta worked but not 100% world clipping still happens just not as often. ill give you the tic anyway
Your answer
![](https://koobas.hobune.stream/wayback/20220613162825im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
CharacterController how to disable acceleration of falling when moving in the air? 1 Answer
Change gravity point on trigger 0 Answers
Character Controller / Charactor Motor has no inputs? 1 Answer
Use Mouse as Direction for Character Movement? 0 Answers
3rd person click to move; issues following terrain. 2 Answers