Unit.setFacingDirection

Sets the facing direction for a unit

Kind: Function

Environments: Game

Game

unit:setFacingDirection( direction )

Open the full Game reference

Availability: Server only

Parameters:

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