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::Pipeline::AssetColliderConfiguration Class Reference

#include <MeshAsset.h>

Public Member Functions

 AZ_CLASS_ALLOCATOR (AssetColliderConfiguration, AZ::SystemAllocator)
 
 AZ_TYPE_INFO (AssetColliderConfiguration, "{463AA6A7-8A1A-42B6-B103-F6939CC7A8A5}")
 
void UpdateColliderConfiguration (Physics::ColliderConfiguration &colliderConfiguration) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

AZStd::optional< AzPhysics::CollisionLayer > m_collisionLayer
 Which collision layer is this collider on.
 
AZStd::optional< AzPhysics::CollisionGroups::Id > m_collisionGroupId
 Which layers does this collider collide with.
 
AZStd::optional< bool > m_isTrigger
 Should this shape act as a trigger shape.
 
AZStd::optional< AZ::Transform > m_transform
 
AZStd::optional< AZStd::string > m_tag
 Shape offset relative to the connected rigid body.
 

Detailed Description

Optional collider configuration data that is stored in the asset. All the fields here are optional. If you set them at the asset building stage that data will then be used in the collider

Member Data Documentation

◆ m_tag

AZStd::optional<AZStd::string> PhysX::Pipeline::AssetColliderConfiguration::m_tag

Shape offset relative to the connected rigid body.

Identification tag for the collider


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