Is it not possible to organize pawns OWN components in BP array?

My pawn has several Physics thrusters, and for optimizing code I would like to have them all in an array so the BP for the Pawn can handle it’s own parts more efficient.

But it appears there is no way to add ‘own objects’ to ‘own array’ - only objects from elsewhere, like floating around in the map - is this really true?

Thanks a bunch!

I’m not entirely sure what you’re talking about, but it seems to me that you want to keep references to an actor’s components in an array.

If the components are part of the class, and not added to it in a level, you can access them under the “Components” tab in the blueprint editor.

If the components are not part of the class, and are therefore added to it in a level, you can still use the “Get Components By Class” node.

Also, not sure how much help this is, but:
Actors attached as components to other actors now become “Child Actor Components”, not actors.

If they are of the same type you can click and drag them onto the blueprint, “get” a reference and then make an array manually.

You would do so at Begin Play. And then take that array and save it to a variable.

basically like so:

84972-makearray.png

Oh, thanks :slight_smile: