Can USplineComponent methods be accessed in the editor via C++?

anonymous_user_62e0f51e
Thu, 26 Jul 2018 15:59:41 +0000
C++

I am trying to use a USplineComponent to position actors in my editor mode module. When I call USplineComponent->GetSplineLength() in editor mode it crashes without explanation and doesn’t give a debug log. Is it possible to get location information from a spline component in the editor? I need to use GetSplineLegth() and GetLocationAtDistanceAlongSpline().

[Log file][1]
[1]: (63.6 KB)

4 posts - 1 participant