Any idea how do I move an object in loop from point A to Point B when it reachs a Point C?
asked Jun 18 '10 at 07:50 PM
Not sure if that's what you want, but to check if Point C was reached you can use a Trigger. (Collider that is setup as a trigger) To move something from A to B over a fixed amount of time you can write a Coroutine which is starte when Point C is reached. The coroutine would look something like this:
To start the coroutine the trigger object will need a script like this:
answered Jun 18 '10 at 08:34 PM