Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FConstraintDrive |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintDrives.h |
| Include Path | #include "PhysicsEngine/ConstraintDrives.h" |
Syntax
USTRUCT ()
struct FConstraintDrive
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConstraintDrive() |
PhysicsEngine/ConstraintDrives.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnablePositionDrive | uint8 | Enables/Disables position drive (orientation if using angular drive) | PhysicsEngine/ConstraintDrives.h |
|
| bEnableVelocityDrive | uint8 | Enables/Disables velocity drive (angular velocity if using angular drive) | PhysicsEngine/ConstraintDrives.h |
|
| Damping | float | The damping strength of the drive. | PhysicsEngine/ConstraintDrives.h |
|
| MaxForce | float | The force limit of the drive. | PhysicsEngine/ConstraintDrives.h |
|
| Stiffness | float | The spring strength of the drive. | PhysicsEngine/ConstraintDrives.h |
|