USplineComponent::GetRotationAtDistanceAlongSpline

Given a distance along the length of this spline, return a rotation corresponding to the spline's rotation there.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SplineComponent.h

Include

#include "Components/SplineComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SplineComponent.cpp

Syntax

FRotator GetRotationAtDistanceAlongSpline
(
    float Distance,
    ESplineCoordinateSpace::Type CoordinateSpace
) const

Remarks

Given a distance along the length of this spline, return a rotation corresponding to the spline's rotation there.