Returns a distance between two objects.
Time Based: #
Not a time-based block (won’t take time to finish execution).
This block has 3 Inputs:
- Sequential Input.
- GameObject_Src: The source object. If connected to a game object it overrides the game object you are writing the code inside. If not, by default, it is the object you are writing code inside.
- GameObject_Dst: The destination object.
This block has 2 Outputs:
- Sequential Output.
- Distance: The Distance between the source and the destination objects.