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::EditorJointConfig Class Reference

Public Types

enum class  DisplaySetupState : AZ::u8 { Never = 0 , Selected , Always }
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (EditorJointConfig, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (EditorJointConfig, "{8A966D65-CA97-4786-A13C-ACAA519D97EA}")
 
void SetLeadEntityId (AZ::EntityId leadEntityId)
 
JointGenericProperties ToGenericProperties () const
 
JointComponentConfiguration ToGameTimeConfig () const
 
bool ShowSetupDisplay () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

bool m_breakable = false
 
DisplaySetupState m_displayJointSetup = DisplaySetupState::Selected
 
bool m_inComponentMode = false
 
bool m_selectLeadOnSnap = true
 
bool m_selfCollide = false
 
AZ::EntityId m_leadEntity
 
AZ::EntityId m_followerEntity
 
float m_forceMax = 1.0f
 
float m_torqueMax = 1.0f
 
AZ::Vector3 m_localPosition = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_localRotation = AZ::Vector3::CreateZero()
 Local rotation angles about X, Y, Z axes in degrees, relative to follower body.
 
bool m_fixJointLocation = false
 When moving entity, the joint location and rotation will be recalculated to stay the same.
 

Static Public Attributes

static const float BreakageMax
 
static const float BreakageMin
 

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