Skip to content

MoveVelocityVector3Driver

16.5

Class Documentation

Edit documentation

A vector3 driver that returns the movement velocity of the source unit: the direction in which the unit moves, scaled to the unit's move speed, in world units per second.

The source must be a unit. When the unit has no move direction, or the direction has no length, the driver returns (0, 0, 0).