UMovementComponent::GetPlaneConstraintOrigin

Get the plane constraint origin.

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

const FVector & GetPlaneConstraintOrigin() const

Remarks

Get the plane constraint origin. This defines the behavior of snapping a position to the plane, such as by SnapUpdatedComponentToPlane().

Returns

The origin of the plane that constrains movement, if the plane constraint is enabled.