elefantopia
Member
Sometimes I'd like to modulate a direction with a bit of noise or when the agent is cornered have it run towards the pursuant but with a bit of a perpendicular like fleeDir = (A-B)+Vector3.Cross(B-A, Vector3.up) and those are easier to do with a custom expression that takes variables from the blackboard to output another variable.
Is there such node? Maybe this is not the most readable, is it better to make a custom node for fleeing movement?
it's devolving into a more general question about when to use the blackboard and when to make a new node instead. Like what's the cost of a BB variable? Are these the ones that eat up cpu or allocate when the graph is instantiated?
Is there such node? Maybe this is not the most readable, is it better to make a custom node for fleeing movement?
it's devolving into a more general question about when to use the blackboard and when to make a new node instead. Like what's the cost of a BB variable? Are these the ones that eat up cpu or allocate when the graph is instantiated?