Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintDrives.h |
| Include | #include "PhysicsEngine/ConstraintDrives.h" |
Syntax
struct FAngularDriveConstraint
Remarks
Angular Drive
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< enum EAngularDriveMode::Type > | AngularDriveMode | Whether motors use SLERP (spherical lerp) or decompose into a Swing motor (cone constraints) and Twist motor (roll constraints). | |
| FVector | AngularVelocityTarget | Target angular velocity relative to the body reference frame in revolutions per second. | |
| FRotator | OrientationTarget | Target orientation relative to the the body reference frame. | |
| FConstraintDrive | SlerpDrive | Controls the SLERP (spherical lerp) drive between current orientation/velocity and target orientation/velocity. | |
| FConstraintDrive | SwingDrive | Controls the cone constraint drive between current orientation/velocity and target orientation/velocity. | |
| FConstraintDrive | TwistDrive | Controls the twist (roll) constraint drive between current orientation/velocity and target orientation/velocity. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool |