Inherits PhysX::BaseColliderComponent, PhysX::MeshColliderComponentRequestsBus::Handler, and AZ::Data::AssetBus::MultiHandler.
|
| AZ_COMPONENT (MeshColliderComponent, "{F3C7996A-F9B8-4AFD-B2A1-6DE971EFDA11}", BaseColliderComponent) |
|
void | Activate () override |
|
void | Deactivate () override |
|
void | OnAssetReady (AZ::Data::Asset< AZ::Data::AssetData > asset) override |
|
void | OnAssetReloaded (AZ::Data::Asset< AZ::Data::AssetData > asset) override |
|
AZ::Data::Asset< Pipeline::MeshAsset > | GetMeshAsset () const override |
|
void | SetMeshAsset (const AZ::Data::AssetId &id) override |
|
void | UpdateScaleForShapeConfigs () override |
|
| AZ_COMPONENT (BaseColliderComponent, "{D0D48233-DCCA-4125-A6AE-4E5AC5E722D3}") |
|
void | SetShapeConfigurationList (const AzPhysics::ShapeColliderPairList &shapeConfigList) |
|
AzPhysics::ShapeColliderPairList | GetShapeConfigurations () override |
|
AZStd::vector< AZStd::shared_ptr< Physics::Shape > > | GetShapes () override |
|
void | OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override |
|
AZ::Aabb | GetColliderShapeAabb () override |
|
bool | IsTrigger () override |
|
void | SetCollisionLayer (const AZStd::string &layerName, AZ::Crc32 filterTag) override |
|
AZStd::string | GetCollisionLayerName () override |
|
void | SetCollisionGroup (const AZStd::string &groupName, AZ::Crc32 filterTag) override |
|
AZStd::string | GetCollisionGroupName () override |
|
void | ToggleCollisionLayer (const AZStd::string &layerName, AZ::Crc32 filterTag, bool enabled) override |
|
|
static void | Reflect (AZ::ReflectContext *context) |
|
static void | Reflect (AZ::ReflectContext *context) |
|
|
void | UpdateMeshAsset () |
|
void | Activate () override |
|
void | Deactivate () override |
|
|
Physics::ColliderConfiguration * | m_colliderConfiguration = nullptr |
|
Physics::PhysicsAssetShapeConfiguration * | m_shapeConfiguration = nullptr |
|
ShapeInfoCache | m_shapeInfoCache |
|
AzPhysics::ShapeColliderPairList | m_shapeConfigList |
|
|
static void | GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided) |
|
static void | GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent) |
|
static void | GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required) |
|
static void | GetIncompatibleServices ([[maybe_unused]] AZ::ComponentDescriptor::DependencyArrayType &incompatible) |
|
◆ UpdateScaleForShapeConfigs()
void PhysX::MeshColliderComponent::UpdateScaleForShapeConfigs |
( |
| ) |
|
|
overridevirtual |
Updates the scale of shape configurations to reflect the scale from the transform component. Specific collider components should override this function.
Reimplemented from PhysX::BaseColliderComponent.
The documentation for this class was generated from the following file:
- Gems/PhysX/Core/Code/Source/MeshColliderComponent.h