FAngularDriveConstraint

Angular Drive

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "PhysicsEngine/ConstraintDrives.h"

Syntax

struct FAngularDriveConstraint

Remarks

Angular Drive

Variables

Name Description

Public variable

TEnumAsByte< en...

 

AngularDriveMode

Whether motors use SLERP (spherical lerp) or decompose into a Swing motor (cone constraints) and Twist motor (roll constraints).

Public variable

FVector

 

AngularVelocityTarget

Target angular velocity relative to the body reference frame.

Public variable

FRotator

 

OrientationTarget

Target orientation relative to the the body reference frame.

Public variable

FConstraintDriv...

 

SlerpDrive

Controls the SLERP (spherical lerp) drive between current orientation/velocity and target orientation/velocity.

Public variable

FConstraintDriv...

 

SwingDrive

Controls the cone constraint drive between current orientation/velocity and target orientation/velocity.

Public variable

FConstraintDriv...

 

TwistDrive

Controls the twist (roll) constraint drive between current orientation/velocity and target orientation/velocity.

Constructors

Name Description

Public function

FAngularDriveConstraint()

Functions

Name Description

Public function Const

bool

 

IsOrientationDriveEnabled()

Public function Const

bool

 

IsVelocityDriveEnabled()

Public function Const

void

 

UpdatePhysXAngularDrive_AssumesLocked

(
    physx::PxD6Joint* Joint
)

Updates physx drive with properties from unreal

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