Game Development Reference
In-Depth Information
The shoot state
Shooting is another state that is nearly identical to our idle state.
The soldier's FSM shoot state
As our state machine only has eight possible states, states such as idle and shoot are nearly
fully connected to any possible action our agent can perform. Having fully connected states
produces more reactive agents overall:
SoldierLogic.lua :
Search WWH ::




Custom Search