My logic works within a range. Once I move outside of that range with an enemy player its first move resorts to spin? is that normal or do i need to change something
The enemies use the actions to determine which is the best action to take. In SpinAction.GetEnemyAIAction()
we set the return value to return 0 for the action value.
However, if there are no enemies within range, the action value for a MoveAction
will also be 0. I believe moving the MoveAction
component to be above the SpinAction
in the enemy’s inspector will result in the AI selecting the move action instead of the spin action
2 Likes