- Erroneous default check of
GOAPAction.stopAction_==false
inGOAPAction.PreconditionsSatisfied()
StateSet.GetBoolState
no longer throws a key error ifStateSet.defaultFalse==true
and the state is not present.
GOAPPlanner
now allows for actions in a plan to be skipped if the preconditions of a subsequent action are met.
- Bug in
GOAPPlanner.OnCompleteActivePlan
andGOAPPlanner.OnFailActivePlan
whereGOAPAction.OnDeactivate
was not called for the active action.
- Bug in
GOAPPlanner.GetNextNode
where a nullActionNode
could override a valid next node, resulting in a valid path not being found by the planner.
ComponentGrouper
class to better organiseGOAPActions
andGOAPGoals
in the inspector.
- Made
WorldState
a required component ofGOAPPlanner