Get Distance

Description #

Returns a distance between two objects.

Time Based: #

Not a time-based block (won’t take time to finish execution).

Inputs #

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.

Outputs #

This block has 2 Outputs:

  • Sequential Output.
  • Distance: The Distance between the source and the destination objects.

Powered by BetterDocs