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

Inherits PhysX::JointComponent.

Public Member Functions

 AZ_COMPONENT (BallJointComponent, "{914036AC-195E-4517-B58E-D29E42A560B9}", JointComponent)
 
 BallJointComponent (const JointComponentConfiguration &configuration, const JointGenericProperties &genericProperties, const JointLimitProperties &limitProperties)
 
- Public Member Functions inherited from PhysX::JointComponent
 AZ_COMPONENT (JointComponent, "{B01FD1D2-1D91-438D-874A-BF5EB7E919A8}")
 
 JointComponent (const JointComponentConfiguration &configuration, const JointGenericProperties &genericProperties)
 
 JointComponent (const JointComponentConfiguration &configuration, const JointGenericProperties &genericProperties, const JointLimitProperties &limitProperties)
 
 JointComponent (const JointComponentConfiguration &configuration, const JointGenericProperties &genericProperties, const JointLimitProperties &limitProperties, const JointMotorProperties &motorProperties)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from PhysX::JointComponent
static void Reflect (AZ::ReflectContext *context)
 

Protected Member Functions

void InitNativeJoint () override
 
- Protected Member Functions inherited from PhysX::JointComponent
void Activate () override
 
void Deactivate () override
 
void OnPhysicsEnabled (const AZ::EntityId &entityId) override
 
void OnPhysicsDisabled (const AZ::EntityId &entityId) override
 
void CreateNativeJoint ()
 
void DestroyNativeJoint ()
 
virtual void InitNativeJoint ()
 
virtual void DeinitNativeJoint ()
 
void OnTick (float deltaTime, AZ::ScriptTimePoint time) override
 
AZ::Transform GetJointLocalPose (const physx::PxRigidActor *actor, const AZ::Transform &jointPose)
 
AZ::Transform GetJointTransform (AZ::EntityId entityId, const JointComponentConfiguration &jointConfig)
 
void ObtainLeadFollowerInfo (LeadFollowerInfo &leadFollowerInfo)
 
void WarnInvalidJointSetup (AZ::EntityId entityId, const AZStd::string &message)
 Issues warnings for invalid scenarios when initializing a joint from entity IDs.
 
void PrintJointSetupMessage (AZ::EntityId entityId, const AZStd::string &message)
 Issues info messages for potentially invalid scenarios when initializing a joint from entity IDs.
 

Additional Inherited Members

- Protected Attributes inherited from PhysX::JointComponent
JointComponentConfiguration m_configuration
 
JointGenericProperties m_genericProperties
 
JointLimitProperties m_limits
 
JointMotorProperties m_motor
 
AzPhysics::JointHandle m_jointHandle = AzPhysics::InvalidJointHandle
 
AzPhysics::SceneHandle m_jointSceneOwner = AzPhysics::InvalidSceneHandle
 
AZStd::unordered_map< AZ::EntityId, bool > m_rigidBodyEntityMap
 

Member Function Documentation

◆ InitNativeJoint()

void PhysX::BallJointComponent::InitNativeJoint ( )
overrideprotectedvirtual

Reimplemented from PhysX::JointComponent.


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