Vector Arrays and how to calculate the closest vector to an impact point (Please Help)

Create a custom function to determine the closest vector in array. Vector Array must be pre populated prior to custom function call.

  • **Vectors **(array)
  • Closest Distance (float, function local var) … default is a ridiculous high number … 200,000.0
  • Closest Index (int, function local var) … default 0

4 Likes