Scripting Movement VS Animator Transform

Hi guys. I wonder, what’s the difference between scripting movement and animating position?

Let’s see I wanna have a hammer swinging from the ceiling. I could either use the Unity animator, or I could simply have the object move between two points via script (Vector3.MoveTowards … ) …what’s preferable? What’s the advantages/disadvantages of the methods?

I think it should do something weird whit the collision. I prefer the scripted part, because its faster, can be controlled by variables, and surely dont mess up collisiin detection.

Gotcha. Thanks!