I have a cube which is moving. Whenever a rigidbody comes in contact to it, it moves the rigidbody out of its path.
However in some of the situations, the rigidBody is in the path of the cube and the cube moves through the rigidbody.
For example as here in the pic, the red is the movable cube and the grey is the RigidBody -
The cube is moving with the script -
transform.position = Vector3.MoveTowards (transform.position, patrolPoints [currentPoint].position, moveSpeed * Time.deltaTime);
If you want the files [51033-assets.zip|51033]