Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FConstraintBaseParams |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintTypes.h |
| Include Path | #include "PhysicsEngine/ConstraintTypes.h" |
Syntax
USTRUCT ()
struct FConstraintBaseParams
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConstraintBaseParams() |
PhysicsEngine/ConstraintTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSoftConstraint | uint8 | Whether we want to use a soft constraint (spring). | PhysicsEngine/ConstraintTypes.h |
|
| ContactDistance | float | Determines how close to the limit we have to get before turning the joint on. | PhysicsEngine/ConstraintTypes.h |
|
| Damping | float | Damping of the soft constraint. Only used when Soft Constraint is on. | PhysicsEngine/ConstraintTypes.h |
|
| Restitution | float | Controls the amount of bounce when the constraint is violated. | PhysicsEngine/ConstraintTypes.h |
|
| Stiffness | float | Stiffness of the soft constraint. Only used when Soft Constraint is on. | PhysicsEngine/ConstraintTypes.h |
|