UPhysicsConstraintComponent::SetAngularOrientationDrive

Enables/Disables angular orientation drive.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "PhysicsEngine/PhysicsConstraintComponent.h"

Syntax

void SetAngularOrientationDrive
(
    bool bEnableSwingDrive,
    bool bEnableTwistDrive
)

Remarks

Enables/Disables angular orientation drive. Only relevant if the AngularDriveMode is set to Twist and Swing

Parameters

Parameter

Description

bEnableSwingDrive

Indicates whether the drive for the swing axis should be enabled. Only relevant if the AngularDriveMode is set to Twist and Swing

bEnableTwistDrive

Indicates whether the drive for the twist axis should be enabled. Only relevant if the AngularDriveMode is set to Twist and Swing

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