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

A ball joint locks 2 bodies relative to one another except about the y and z axes of the joint between them. More...

#include <PhysXJoint.h>

Inherits PhysX::PhysXJoint.

Public Member Functions

 AZ_CLASS_ALLOCATOR (PhysXBallJoint, AZ::SystemAllocator)
 
 AZ_RTTI (PhysXBallJoint, "{9494CE43-3AE2-40AB-ADF7-FDC5F8B0F15A}", PhysX::PhysXJoint)
 
 PhysXBallJoint (const BallJointConfiguration &configuration, AzPhysics::SceneHandle sceneHandle, AzPhysics::SimulatedBodyHandle parentBodyHandle, AzPhysics::SimulatedBodyHandle childBodyHandle)
 
AZ::Crc32 GetNativeType () const override
 
- Public Member Functions inherited from PhysX::PhysXJoint
 AZ_CLASS_ALLOCATOR (PhysXJoint, AZ::SystemAllocator)
 
 AZ_RTTI (PhysXJoint, "{DBE1D185-E318-407D-A5A1-AC1DE7F4A62D}", AzPhysics::Joint)
 
 PhysXJoint (AzPhysics::SceneHandle sceneHandle, AzPhysics::SimulatedBodyHandle parentBodyHandle, AzPhysics::SimulatedBodyHandle childBodyHandle)
 
AzPhysics::SimulatedBodyHandle GetParentBodyHandle () const override
 
AzPhysics::SimulatedBodyHandle GetChildBodyHandle () const override
 
void SetParentBody (AzPhysics::SimulatedBodyHandle parentBody) override
 
void SetChildBody (AzPhysics::SimulatedBodyHandle childBody) override
 
void * GetNativePointer () const override
 

Additional Inherited Members

- Protected Member Functions inherited from PhysX::PhysXJoint
bool SetPxActors ()
 
- Protected Attributes inherited from PhysX::PhysXJoint
Utils::PxJointUniquePtr m_pxJoint
 
AzPhysics::SceneHandle m_sceneHandle
 
AzPhysics::SimulatedBodyHandle m_parentBodyHandle
 
AzPhysics::SimulatedBodyHandle m_childBodyHandle
 
AZStd::string m_name
 

Detailed Description

A ball joint locks 2 bodies relative to one another except about the y and z axes of the joint between them.


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