Unit.getCurrentFacingDirection
Gets the current facing direction of a unit.
Kind: Function
Environments: Game
Game
unit:getCurrentFacingDirection( )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
unit |
Unit | The unit. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The units facing direction. |