Cut scene Animation?

How do I set up a cut scene animation in Unity. I have this robot that needs to perform an animation every time it hits a trigger. The animation is the robot drives forward extends an arm, and drills into a rock. I need this to happen the same every time but if I move the location of the trigger the animation needs to happen in the new spot. how do I do this?

You can make a script for the robot like this:

//Robot animation

function OnTriggerEnter (other : Collider) {

 if (other.CompareTag ("CheckPoint")) {

      Animation.CrossFade("Your Animation")



Here youre going to create a tag for the checkpoints your robot is going to touch. Then just add your animtion name.

Dont forget to check the box isTrigger on the checkpoints.

Good Luck Ryan.