Problem with Trigger

I create a box, and Box collider . I animation box meet collider. I think It will run Animation a sphere, I try Debug Log, but it’s will dont work and don’t have erro.


I dont understand what you want to do, do you want the collider to check if the box collided with it? then, animate a sphere???

On the box collider, check the ‘is Trigger’ property. put a script in that collider and add this function:

function OnCollisionEnter(collision : Collision)
{
//your code here sphere animation
}