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 FConstraintDrive
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bEnablePositionDrive | Enables/Disables position drive (orientation if using angular drive) | |
| uint8: 1 | bEnableVelocityDrive | Enables/Disables velocity drive (angular velocity if using angular drive) | |
| float | Damping | The damping strength of the drive. Force proportional to the velocity error. | |
| float | MaxForce | The force limit of the drive. | |
| float | Stiffness | The spring strength of the drive. Force proportional to the position error. |
Constructors
| Type | Name | Description | |
|---|---|---|---|