Fix PhysX header usage in public API

This commit is contained in:
Wojtek Figat
2021-02-01 11:40:50 +01:00
parent fecf7d7804
commit 283714a39f

View File

@@ -2,7 +2,11 @@
#pragma once
#include <ThirdParty/PhysX/foundation/PxTransform.h>
namespace physx
{
class PxRigidActor;
class PxTransform;
}
/// <summary>
/// A base interface for all physical actors types/owners that can responds on transformation changed event.
@@ -20,7 +24,7 @@ public:
/// Gets the rigid actor (PhysX object) may be null.
/// </summary>
/// <returns>PhysX rigid actor or null if not using</returns>
virtual PxRigidActor* GetRigidActor() = 0;
virtual physx::PxRigidActor* GetRigidActor() = 0;
/// <summary>
/// Called when actor's active transformation gets changed after the physics simulation step.