Warning System Changes (polish) Redo (#4009)

* Restores the branch to the old status from old branch

Signed-off-by: aaguilea <aaguilea@amazon.com>

* Changes that didnt make it from merge manually fixed

Signed-off-by: aaguilea <aaguilea@amazon.com>

* forgot one

Signed-off-by: aaguilea <aaguilea@amazon.com>

* Added Ebus in order to remove rigidbody's dependencies

Signed-off-by: aaguilea <aaguilea@amazon.com>

* answering some of the comments in the PR

Signed-off-by: aaguilea <aaguilea@amazon.com>

* Small typo changed

Signed-off-by: aaguilea <aaguilea@amazon.com>
This commit is contained in:
AMZN-Alexandre Corcia Aguilera
2021-09-17 14:49:48 +01:00
committed by GitHub
parent c28bc7c6d8
commit 4167bb6cde
5 changed files with 58 additions and 22 deletions
@@ -82,4 +82,18 @@ namespace PhysX
};
using EditorColliderComponentRequestBus = AZ::EBus<EditorColliderComponentRequests>;
/// <EditorColliderValidationRequests>
/// This is a Bus in order to communicate the status of the meshes of the collider and avoid dependencies with the rigidbody
/// </EditorColliderValidationRequests>
class EditorColliderValidationRequests : public AZ::ComponentBus
{
public:
/// Checks if the the mesh in the collider is correct with the current state of the Rigidbody!
virtual void ValidateRigidBodyMeshGeometryType() = 0;
};
using EditorColliderValidationRequestBus = AZ::EBus<EditorColliderValidationRequests>;
}