- Home /
Problem with rigidbodys and box collider
hi everybody, i've got a problem in my games, I have a character, i put a character controller, a rigidbody, and for the floor i have just put a box collision, i try every collider put nothing work, my character still goes through the floor.
Thanks for your answers !
Answer by meat5000 · Nov 13, 2013 at 01:50 PM
Have you tried a meshcollider on the floor, marked as static?
Also, move your rigidbody with AddForce and not with transform.translate or position.
hello meat5000, i've tried your solution, buut for know i haven't put the movement to my character, maybe that's the problem ? i'm new in unity.
I found something, when i'm using a box collider on my character and my floor, the character is not falling down but if i put a character controller to my character and a box collider to the floor it's work
The box collider floor in your original question would also need a rigidbody on the object.