AiState.onFixedUpdate

Updates the state by adding delta time progression.

Kind: Function

Environments: Game

Game

aiState:onFixedUpdate( deltaTime )

Open the full Game reference

Availability: Server only

Should be called once every game tick while the state is active.

Parameters:

Name Type Description
state AiState The state.
deltaTime number The delta time.