![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ConstraintTypes.h>
Inheritance diagram for FConeConstraint:Public Member Functions | |
| ENGINE_API | FConeConstraint () |
| ENGINE_API void | UpdateConeLimit_AssumesLocked (const FPhysicsConstraintHandle &InConstraintRef, float AverageMass) const |
Public Member Functions inherited from FConstraintBaseParams | |
| ENGINE_API | FConstraintBaseParams () |
Public Attributes | |
| float | Swing1LimitDegrees |
| float | Swing2LimitDegrees |
| TEnumAsByte< enum EAngularConstraintMotion > | Swing1Motion |
| TEnumAsByte< enum EAngularConstraintMotion > | Swing2Motion |
Public Attributes inherited from FConstraintBaseParams | |
| float | Stiffness |
| float | Damping |
| float | Restitution |
| float | ContactDistance |
| uint8 | bSoftConstraint: 1 |
Cone constraint
| FConeConstraint::FConeConstraint | ( | ) |
| void FConeConstraint::UpdateConeLimit_AssumesLocked | ( | const FPhysicsConstraintHandle & | InConstraintRef, |
| float | AverageMass | ||
| ) | const |
Updates cone limit from unreal data.
| float FConeConstraint::Swing1LimitDegrees |
Angle of movement along the XY plane. This defines the first symmetric angle of the cone.
| TEnumAsByte<enum EAngularConstraintMotion> FConeConstraint::Swing1Motion |
Indicates whether the Swing1 limit is used.
| float FConeConstraint::Swing2LimitDegrees |
Angle of movement along the XZ plane. This defines the second symmetric angle of the cone.
| TEnumAsByte<enum EAngularConstraintMotion> FConeConstraint::Swing2Motion |
Indicates whether the Swing2 limit is used.