// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. #pragma once /// /// A base interface for all physical actors types/owners that can responds on transformation changed event. /// class FLAXENGINE_API IPhysicsActor { public: /// /// Finalizes an instance of the class. /// virtual ~IPhysicsActor() = default; /// /// Gets the native physics backend object. /// virtual void* GetPhysicsActor() const = 0; /// /// Called when actor's active transformation gets changed after the physics simulation step during. /// /// /// This event is called internally by the Physics service and should not be used by the others. /// virtual void OnActiveTransformChanged() = 0; };