On the object i added a rigidbody and it already has a box collider.
Character controller falling through floor.
This did not happen in the original opsive store version from sept 9th.
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.
It keeps falling through the floor.
Character controllers are not meant to be used with a rigidbody.
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.
In the details section for your player character mesh see if you have the box simulate physics checked or not.
The character controller is mainly used for third person or first person player control that does not make use of rigidbody physics.
I 39 ve gotten everything to work except my character controller.
Please do not put a rigidbody on a charactercontroller.
From the unity docs.
I attached a camera to my controller and i can see that it falls past the ground and continues to fall into infinity.
However my object falls 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.
I know that i need to detect the colli.
I m using the official unity tutorial.