AiState.getFacingDirection

Returns the state's facing direction.

Kind: Function

Environments: Game

Game

aiState:getFacingDirection(  )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
state AiState The state.

Returns:

Type Description
Vec3 The direction.