UPhysicsConstraintComponent::SetConstraintReferencePosition

Pass in reference position in (maintains reference orientation). If the constraint is currently active, this will set its active local pose. Otherwise the change will take affect in InitConstraint.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintComponent.h

Include

#include "PhysicsEngine/PhysicsConstraintComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsConstraintComponent.cpp

Syntax

void SetConstraintReferencePosition
(
    EConstraintFrame::Type Frame,
    const FVector & RefPosition
)

Remarks

Pass in reference position in (maintains reference orientation). If the constraint is currently active, this will set its active local pose. Otherwise the change will take affect in InitConstraint.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss