object goes to object

how to stop it.even though having a script doesnt stop

What do you mean by 'it'? Animation? Collision?

Like this? http://answers.unity3d.com/questions/51865/object-goes-through-object

1 Answer

1

make sure both objects have colliders. If it is still going through, it might be because you are moving too fast.