Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»GameObject Actions»Find Closest
Index
Navigation
Community Wiki

Find Closest

Finds the closest game object and stores it in a variable for later use.

Game Object
The game object to measure distance from.
With Tag
Filter by this Tag.
Store Object
Store the closest object (or null if none found) in a variable.
Store Distance
Store the distance to the closest object (or float.infinity if none found) in variable.
Every Frame
Perform the action every frame.

Last modified on 12/6/2010 3:54 AM by User.

  • RSS Feed