Home »Action Reference»GameObject Actions»Get Distance
Index

Get Distance

Measures the distance betweens 2 game objects and stores the result in a float variable.

Game Object
First game object.
Target
Second game object.
Store Result
Store the distance in a float variable.
 

Notes:

  • Use Float Compare to branch state based on the stored distance.