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

A hinge joint locks 2 bodies relative to one another except about the x-axis of the joint between them. More...

#include <PhysXJoint.h>

Inherits PhysX::PhysXJoint.

Public Member Functions

 AZ_CLASS_ALLOCATOR (PhysXHingeJoint, AZ::SystemAllocator)
 
 AZ_RTTI (PhysXHingeJoint, "{9C5B955C-6C80-45FA-855D-DDA449C85313}", PhysX::PhysXJoint)
 
 PhysXHingeJoint (const HingeJointConfiguration &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 hinge joint locks 2 bodies relative to one another except about the x-axis of the joint between them.


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