First, put another log line before your IF statement. If that line prints in console, your problem is in
if(col.gameObject.name == "Ball").
If that is not the case, check this [documentation][1] about unity colliders. Especially focus on the collision tables on bottom of the page.
[1]: http://docs.unity3d.com/Documentation/Components/class-BoxCollider.html
↧