Open 3D Engine PhysX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
PhysX::EditorJointLimitConfig Class Reference

Inherits PhysX::EditorJointLimitBase.

Public Member Functions

 AZ_CLASS_ALLOCATOR (EditorJointLimitConfig, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (EditorJointLimitConfig, "{3A874895-D9A7-404A-95E4-8C05D032FA0B}")
 
bool IsSoftLimited () const
 
- Public Member Functions inherited from PhysX::EditorJointLimitBase
 AZ_CLASS_ALLOCATOR (EditorJointLimitBase, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (EditorJointLimitBase, "{7D6BD28B-6DAF-42F7-8EFF-0F5ACBBDBAE7}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZStd::string m_name
 
bool m_inComponentMode = false
 
bool m_isLimited = true
 Indicates if this joint has limits, e.g. maximum swing angles.
 
bool m_isSoftLimit = false
 If limit is soft, spring and damping are taken into account.
 
float m_tolerance = 0.1f
 Field is not shown in the editor. May not be easy for users to utilize this value.
 
float m_damping = 20.0f
 
float m_stiffness = 100.0f
 

Additional Inherited Members

- Static Public Attributes inherited from PhysX::EditorJointLimitBase
static const float s_springMax
 Maximum value for spring stiffness and damping.
 
static const float s_springMin
 Minimum value for spring stiffness and damping.
 
static const float s_toleranceMax
 Maximum value for limit tolerance, distance at which limit gets activated/enforced.
 
static const float s_toleranceMin
 Minimum value for limit tolerance, distance at which limit gets activated/enforced.
 

The documentation for this class was generated from the following file: