UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FConeConstraint Struct Reference

#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 EAngularConstraintMotionSwing1Motion
 
TEnumAsByte< enum EAngularConstraintMotionSwing2Motion
 
- Public Attributes inherited from FConstraintBaseParams
float Stiffness
 
float Damping
 
float Restitution
 
float ContactDistance
 
uint8 bSoftConstraint: 1
 

Detailed Description

Cone constraint

Constructor & Destructor Documentation

◆ FConeConstraint()

FConeConstraint::FConeConstraint ( )

Member Function Documentation

◆ UpdateConeLimit_AssumesLocked()

void FConeConstraint::UpdateConeLimit_AssumesLocked ( const FPhysicsConstraintHandle InConstraintRef,
float  AverageMass 
) const

Updates cone limit from unreal data.

Member Data Documentation

◆ Swing1LimitDegrees

float FConeConstraint::Swing1LimitDegrees

Angle of movement along the XY plane. This defines the first symmetric angle of the cone.

◆ Swing1Motion

TEnumAsByte<enum EAngularConstraintMotion> FConeConstraint::Swing1Motion

Indicates whether the Swing1 limit is used.

◆ Swing2LimitDegrees

float FConeConstraint::Swing2LimitDegrees

Angle of movement along the XZ plane. This defines the second symmetric angle of the cone.

◆ Swing2Motion

TEnumAsByte<enum EAngularConstraintMotion> FConeConstraint::Swing2Motion

Indicates whether the Swing2 limit is used.


The documentation for this struct was generated from the following files: