Unit.setMovementDirection

Sets the movement direction for a unit

Kind: Function

Environments: Game

Game

unit:setMovementDirection( direction )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
unit Unit The unit.
direction Vec3 The desired movement direction.