TurnAwayFrom Method

See Also Applies To Example Model

Turns in the direction away from a specified object.

object expression.TurnAwayFrom (Object)

object expression    Required. An object expression that evaluates to an object in the Applies To list.

Object    Required VObject. An object of type Bot, Cell, or VPoint.

Example

The following example uses the TurnAwayFrom method to turn a Bot object away from another Bot.

Bot.TurnAwayFrom otherBot