AiState.getMovementDirection

Returns the state's movement direction.

Kind: Function

Environments: Game

Game

aiState:getMovementDirection(  )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
state AiState The state.

Returns:

Type Description
Vec3 The direction.