I am using the goober application for learning some conceps about colliders.
I have added a new Spehere to the level (at some height from the floor ) and attached a Sphere Collider and a RigidBody to it.
If I put the ball just above the goober , the sphere collide with the goober (ok). But otherwise the sphere pass through the floor (??).
I am trying to make a bouncing ball inside this application.
Thanks
I’m not familliar with the “goober application” (the FPS tutorial?), but here’s a quick guess: Does the floor have a collider assigned to it?
The Goober application is in Character-Animation Examples. The floor and the walls have a Mesh Collider.
HTWarrior
I know mesh colliders wont interact with other mesh colliders… but you claim you are using a sphere collider on your sphere… yer sure?
Quite sure. this is the Goober application with the ball
Ok, sorry, that “goober”. I just launched it in Unity 1.6, then added a game object => sphere (which already had a sphere collider) then added a rigid body to it. When I pressed play, the sphere dropped and stopped on the floor. Then I tried a couple different physics materials, everything seemed to work OK.
Sorry, I can’t see what you’re doing wrong or why yours doesn’t work.
Here’s a look at my set up:
I tryied with a new ball and it worked. When I use a scale of 0.4 or less the problem appears again ( The ball pass through the floor ) when using a scale of 0.5 the ball behaves ok.
Thanks
As you can see from my screen shot, I tried it with a scale of 0.2 and it worked fine. Sounds like your physics settings need to be tweaked.
Try:
Edit => Project Settings => Physics Manager
and try changing the setting for “solver iteration count”. That may fix your problem.