Compute Direction

Compute Direction

Compute a direction vector between two points and sets it onto the specified blackboard key.

Success: When a direction value is set onto the blackboard

Failure: When there is no valid blackboard key to write to

Running: Never


Attributes

Attributes

Type

Description

Attributes

Type

Description

lockAgent

bool

If on, ensures no data on the agent is written simultaneously by nodes that have this option active.

startPosition

vector3

Start position

endPosition

vector3

End position

normalize

bool

Normalize the vector

blackboardKey

string

The blackboard key where the vector will be stored

Copyright © 2017, Toolchefs LTD.