Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine
Inheritance Hierarchy
- FConstraintBaseParams
- FConeConstraint
- FLinearConstraint
- FTwistConstraint
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintTypes.h |
| Include | #include "PhysicsEngine/ConstraintTypes.h" |
Syntax
struct FConstraintBaseParams
Remarks
Copyright Epic Games, Inc. All Rights Reserved.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bSoftConstraint | Whether we want to use a soft constraint (spring). | |
| float | ContactDistance | Determines how close to the limit we have to get before turning the joint on. | |
| float | Damping | Damping of the soft constraint. Only used when Soft Constraint is on. | |
| float | Restitution | Controls the amount of bounce when the constraint is violated. | |
| float | Stiffness | Stiffness of the soft constraint. Only used when Soft Constraint is on. |
Constructors
| Type | Name | Description | |
|---|---|---|---|