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

Editor PhysX Primitive Collider Component. More...

#include <EditorColliderComponent.h>

Inherits AzToolsFramework::Components::EditorComponentBase, AzToolsFramework::EditorComponentSelectionRequestsBus::Handler, PhysX::DebugDraw::DisplayCallback, AzToolsFramework::EntitySelectionEvents::Bus::Handler, AzToolsFramework::BoxManipulatorRequestBus::Handler, AzToolsFramework::ShapeManipulatorRequestBus::Handler, AZ::TransformNotificationBus::Handler, PhysX::ColliderShapeRequestBus::Handler, PhysX::EditorColliderComponentRequestBus::Handler, PhysX::EditorPrimitiveColliderComponentRequestBus::Handler, AzPhysics::SimulatedBodyComponentRequestsBus::Handler, and AzFramework::BoundsRequestBus::Handler.

Public Member Functions

 AZ_EDITOR_COMPONENT (EditorColliderComponent, "{FD429282-A075-4966-857F-D0BBF186CFE6}")
 
 EditorColliderComponent (const Physics::ColliderConfiguration &colliderConfiguration, const Physics::ShapeConfiguration &shapeConfiguration)
 
const EditorProxyShapeConfigGetShapeConfiguration () const
 
const Physics::ColliderConfiguration & GetColliderConfiguration () const
 
Physics::ColliderConfiguration GetColliderConfigurationScaled () const
 
Physics::ColliderConfiguration GetColliderConfigurationNoOffset () const
 
bool IsDebugDrawDisplayFlagEnabled () const
 
AZ::Aabb GetWorldBounds () override
 
AZ::Aabb GetLocalBounds () override
 
AZ::Aabb GetEditorSelectionBoundsViewport (const AzFramework::ViewportInfo &viewportInfo) override
 
bool EditorSelectionIntersectRayViewport (const AzFramework::ViewportInfo &viewportInfo, const AZ::Vector3 &src, const AZ::Vector3 &dir, float &distance) override
 
bool SupportsEditorRayIntersect () override
 
void BuildGameEntity (AZ::Entity *gameEntity) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Additional Inherited Members

virtual void Display (const AzFramework::ViewportInfo &viewportInfo, AzFramework::DebugDisplayRequests &debugDisplay) const =0
 

Detailed Description

Editor PhysX Primitive Collider Component.


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