AiState.getFacingDirection
Returns the state's facing direction.
Kind: Function
Environments: Game
Game
aiState:getFacingDirection( )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
state |
AiState | The state. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The direction. |