Hi all
I’ve been following the examples on the RAIN Starter Kit: Basic Behaviors and I find them very interesting and useful.
However, there is a small doubt I’ve got in an Action Expression for the Patrols/PointsOfInterests BT:
lastPOI = pointOfInterest
Why the need to add this expression? I know that if I remove the expression from the BT, the agent faces the first point of interest and no longer move, so, the expression must be created if the agent should resume the patrolling route. However, I don’t see lastPOI being used anywhere in the scenario and hence I don’t see the logic for the expression to be created in order for the agent to resume the patrolling route.
Any idea?
-
This topic was modified 1 month, 2 weeks ago by Cheo.
-
This topic was modified 1 month, 2 weeks ago by Cheo.
-
This topic was modified 1 month, 2 weeks ago by Cheo.