From the unity docs.
Character controller keeps falling through floor.
While i cannot explain to you why exactly i do know that when fiddling around with physics stuff in the templates i would be able to play a level fine and then upon changing the value of that checkbox for either the floor or character mesh i was falling through the floor.
My character keeps falling through static mesh 01 27 2016 11 59 am.
I attached a camera to my controller and i can see that it falls past the ground and continues to fall into infinity.
I 39 ve gotten everything to work except my character controller.
I know that i need to detect the colli.
Character controllers are not meant to be used with a rigidbody.
The character controller is mainly used for third person or first person player control that does not make use of rigidbody physics.
It keeps falling through the floor.
One of the challenges i ran into was that when the player moved above a certain velocity it would sometimes pass through colliders.
Over the last week i have been switching over to bullet physics from physx.
Any help would be greatly appreciated.
It has a circle collier and a rigidbody.
The player falls through regardless of what kind of gameobject cube etc i place under it.
Please make sure that skinnedmeshanimator in charactercontrolle.
I want to make a bouncing ball effect.
However my object falls through the floor.
In the details section for your player character mesh see if you have the box simulate physics checked or not.
How can i stop the object from falling through the floor.
How to stop falling through floors and colliders in unity recently i have been working on a 2d platformer which uses the inbuilt unity physics and rigidbodies.
I should mention that the player is supposed to die once it comes in contact with anything so i don t know how to approach this.
Please do not put a rigidbody on a charactercontroller.
I m using the official unity tutorial.
However when i press play the player always appears under the model and the floor.