why the ball through the box collider ?

Hello
I have a simple example of box collider, ball in 4 walls that turn, but the problem is that the ball sometimes through the boxCollider.

capture :
alt text

Hello there.

After reading this (which isaid you to read it but i think you didnt…)


It says: " For best results, set this value to CollisionDetectionMode.ContinuousDynamic for fast moving objects, and for other objects which these need to collide with, set it to CollisionDetectionMode.Continuous.

ORryou can reduce the FixedUpdate time with Time.fixedTime

So, set the ball collision detection in the rigidbody to ContinuousDynamic, and rigidbody for the bars to Continuous and should work perfect!

Bye!