I give rigidbody to the object, and use rigidbody.AddForce to make the object moved. Some times, the speed will be very high, and the object may pass through some other collider objects. How can I avoid this?? Thank you for help??
From the official Unity Script Reference (with a few spelling corrections):
"Use the Rigidbody.collisionDetectionMode property to set up a Rigidbody for continuous collision detection, which is used to prevent fast moving objects from passing through other objects without detecting collisions. 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. This has a big impact on physics performance, so just leave it set to the default value of CollisionDetectionMode.Discrete, if you don't have any issues with collisions of fast objects. Continuous Collision Detection is only supported for Rigidbodies with Sphere-, Capsule- or BoxColliders."