I have InterpToMovement component with several points. Let’s say: 5 of them.
Is there any clean way to get information when actor is passing through every control point?
Of course I could check actor’s position on tick and compare it with every control point, but it would be dirty script.
I’ve just gone through the source code and UInterpToMovementComponent doesn’t have this functionality. You can’t even get the current or next control point as that is calculated on the fly in ComputeMoveDelta.
If you don’t have too many control points you could get away with doing squared distance checks. Not ideal but wouldn’t be the end of the world.