Array with difference class

Hello I’m working with Spline array

What I want to do is:

  1. Collect all Spline Component Object Reference in Overlap box to array
  2. Use That Spline Component Object Reference array to some function (for example: Find Tangent Closest to World Location, calculation about spline)

The Problem is:

  • When I collect and make overlap spline to array it become to Actor array

  • I can’t make it to Spline Component Object Reference array

  • Actor array can’t use with function that I refer

I think this is what you’re looking for

Thank you for fast answer
I try with your method, but get warning and can’t run.

This is the node you should use to retrieve components. Then cast to your class and add them to an array.

290014-com.png

Or like so

comp2.png didn’t solved my problem 100%, but I can see the way. I really thank you. :slight_smile: