How to copy Spline Component points?

Hello guys! Can anybody share decision: how to copy/clone/duplicate spline component points?

If I do something like this:

213305-снимок.png

It set pointer (reference) from “ForwardSpline” to the SplineComponent of my “SpawnedActor”.
Spline Component has no methods like: get(copy) or clone object.
Also: I can’t call function like: GetSplinePoints, but UE4 has method SetSplinePoints (why?). I can’t get array of Spline points.

So I have no idea, how to copy Spline Component points.

Okay… There is decision:

And my function body:
213344-

2 Likes

This would help me in what I am doing, excpet I cannot find a “Get Spline Point at Index” :frowning:
All I find is seperate functions to get all the point attributes individually??

click the first screenshot link :stuck_out_tongue:
it’s custom function that constructs ‘spline point’

or rather second screenshot

Hey I was wondering what happened to your second screenshot? Would it be possible to re upload it as I am having a similar issue that I would like to resolve :slight_smile:

Hey, if you are still interested in ‘GetSplinePointAtIndex’- this topic was covered here: Get All Spline Points of a Spline Component?!

Mr Everynone has got a look at the spline point. I’ll repost his ss here just for convenience.