USplineComponent::GetWorldRotationAtDistanceAlongSpline

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Components/SplineComponent.h"

Syntax

FRotator GetWorldRotationAtDistanceAlongSpline
(
    float Distance
) const

Remarks

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