SystemComponent is now only build in PhysX.Static, instead of most of the Physx projects.
This commit is contained in:
@@ -36,9 +36,6 @@
|
||||
#include <DefaultWorldComponent.h>
|
||||
#include <Material.h>
|
||||
|
||||
#ifdef PHYSX_EDITOR
|
||||
#include <AzToolsFramework/Entity/EditorEntityContextBus.h>
|
||||
#endif
|
||||
namespace AzPhysics
|
||||
{
|
||||
struct StaticRigidBodyConfiguration;
|
||||
@@ -61,10 +58,6 @@ namespace PhysX
|
||||
, public Physics::SystemRequestBus::Handler
|
||||
, public PhysX::SystemRequestsBus::Handler
|
||||
, public Physics::CharacterSystemRequestBus::Handler
|
||||
#ifdef PHYSX_EDITOR
|
||||
, public AzToolsFramework::EditorEntityContextNotificationBus::Handler
|
||||
, private AzToolsFramework::EditorEvents::Bus::Handler
|
||||
#endif
|
||||
, private Physics::CollisionRequestBus::Handler
|
||||
, private AZ::TickBus::Handler
|
||||
{
|
||||
@@ -100,8 +93,6 @@ namespace PhysX
|
||||
bool CookTriangleMeshToMemory(const AZ::Vector3* vertices, AZ::u32 vertexCount,
|
||||
const AZ::u32* indices, AZ::u32 indexCount, AZStd::vector<AZ::u8>& result) override;
|
||||
|
||||
void AddColliderComponentToEntity(AZ::Entity* entity, const Physics::ColliderConfiguration& colliderConfiguration, const Physics::ShapeConfiguration& shapeConfiguration, bool addEditorComponents = false) override;
|
||||
|
||||
physx::PxFilterData CreateFilterData(const AzPhysics::CollisionLayer& layer, const AzPhysics::CollisionGroup& group) override;
|
||||
physx::PxCooking* GetCooking() override;
|
||||
|
||||
@@ -125,13 +116,6 @@ namespace PhysX
|
||||
void Activate() override;
|
||||
void Deactivate() override;
|
||||
|
||||
#ifdef PHYSX_EDITOR
|
||||
|
||||
// AztoolsFramework::EditorEvents::Bus::Handler overrides
|
||||
void PopulateEditorGlobalContextMenu(QMenu* menu, const AZ::Vector2& point, int flags) override;
|
||||
void NotifyRegisterViews() override;
|
||||
#endif
|
||||
|
||||
// Physics::SystemRequestBus::Handler
|
||||
AZStd::shared_ptr<Physics::Shape> CreateShape(const Physics::ColliderConfiguration& colliderConfiguration, const Physics::ShapeConfiguration& configuration) override;
|
||||
AZStd::shared_ptr<Physics::Material> CreateMaterial(const Physics::MaterialConfiguration& materialConfiguration) override;
|
||||
|
||||
Reference in New Issue
Block a user