MoveTo
The MoveTo function is a function which will take the argument PositionedObject and will set its Velocity so that it moves to the argument location in a set amount of time, as specified by the secondsToTake parameter. The MoveTo function will do two things:
It will modify the velocity values of the PositionedObject.
It will add instructions to the PositionedObject's Instructions list.
Last updated