UMovementComponent::GetPlaneConstraintNormalFromAxisSetting

Helper to compute the plane constraint axis from the current setting.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/MovementComponent.h

Include

#include "GameFramework/MovementComponent.h"

Source

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

Syntax

FVector GetPlaneConstraintNormalFromAxisSetting
(
    EPlaneConstraintAxisSetting AxisSetting
) const

Remarks

Helper to compute the plane constraint axis from the current setting.

Returns

Plane constraint axis/normal.

Parameters

Parameter

Description

AxisSetting

Setting to use when computing the axis.