- Home /
Bouncing ball tutorial - Ball goes through the floor.
I am running through the tutorials and I am having an issue with the bouncing ball tutorial. I have the Robot Lab downloaded and I can load the empty scene just fine. I add the prop_samoflange and attach a rigidbody and sphere collider to it. Then I run it and it falls right through the floor. Did I miss something from the video or did he do something before hand and not say what? Here is a link to the tutorial page: Video
Answer by Marzel · Mar 26, 2013 at 04:21 PM
I had the same problem. I think something is missing in the empty scene. I fixed it by adding a mesh collider component to floor_007.
Answer by KuroSetsuna29 · Mar 31, 2013 at 12:54 AM
Just to note, it does seem the robotLab environment in the Empty scene is messing its mess collider. The answer proposed by Marzel will work but only for floor 7, the correct approach should be adding a mess collider to the whole environment:
Select env_robotLab_static under Static Objects
Add Component -> Physics -> Mess Collider
Click the circle beside Mesh property to change it, and locate env_robotLab_collision_001
Nice!!! I knew it had something to do with the lack of a collider, just was quite sure how to fix it.
Your answer
Follow this Question
Related Questions
Why is rigidbody.AddForce not working? 3 Answers
I have problem with collider and rigidbody 1 Answer
Avoid Player bouncing when colliding with objects 3D 1 Answer
Rigidbody2D alternating between TriggerEnter and TriggerExit? 1 Answer
Character Controller Component Makes the Player Pass through Hills, Rocks, Trees, etc! 0 Answers