#include <FollowTargetFromDistance.h>
Inherits ICameraTransformBehavior, and AZ::GameplayNotificationBus::MultiHandler.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (FollowTargetFromDistance, AZ::SystemAllocator) | |
void | AdjustCameraTransform (float deltaTime, const AZ::Transform &initialCameraTransform, const AZ::Transform &targetTransform, AZ::Transform &inOutCameraTransform) override |
void | Activate (AZ::EntityId) override |
void | Deactivate () override |
void | OnEventBegin (const AZStd::any &) override |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *reflection) |
This behavior will cause the camera to follow the target by "Follow Distance" meters. Zoom using action events. Use a distance of 0 for FPS style games and a distance greater than 0 for a Third Person style camera