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::ArticulationLinkData Struct Reference

Configuration data for an articulation link. Contains references to child links. More...

#include <Articulation.h>

Public Member Functions

 AZ_CLASS_ALLOCATOR (ArticulationLinkData, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (PhysX::ArticulationLinkData, "{0FA03CD7-0FD2-4A80-8DB7-45DB944C8B24}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

ArticulationLinkConfiguration m_articulationLinkConfiguration
 
AzPhysics::ShapeColliderPairList m_shapeColliderConfigurationList
 Data related to the collision shapes for this link.
 
AZ::Transform m_localTransform = AZ::Transform::CreateIdentity()
 
AZ::Transform m_jointLeadLocalFrame = AZ::Transform::CreateIdentity()
 Extra data for the articulation joint that is not in the link configuration.
 
AZ::Transform m_jointFollowerLocalFrame = AZ::Transform::CreateIdentity()
 
AZStd::vector< AZStd::shared_ptr< ArticulationLinkData > > m_childLinks
 List of child links. Together this forms a tree-like data structure representing the entire articulation.
 

Detailed Description

Configuration data for an articulation link. Contains references to child links.

Member Data Documentation

◆ m_articulationLinkConfiguration

ArticulationLinkConfiguration PhysX::ArticulationLinkData::m_articulationLinkConfiguration

Articulation link specific properties for constructing PxArticulationLink. This data comes from Articulation Link Component in the Editor.

◆ m_localTransform

AZ::Transform PhysX::ArticulationLinkData::m_localTransform = AZ::Transform::CreateIdentity()

Cached local transform of this link relative to its parent. This is needed because at the time of constructing the articulation child entities corresponding to the links won't be active yet, so there's no way to query their local transform.


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