#include <ComposableCameraImpulseSphere.h>

Inherits: AActor, IComposableCameraImpulseShapeInterface

This actor can be placed into levels or spawned dynamically to provide an impulse mechanism for cameras.
When camera enters the sphere, it will receive consistent impulse force initiated by this sphere.
The force direction is from the sphere origin to the camera position.

Public Attributes

Return Name Description
float Radius
FRuntimeFloatCurve ForceCurve

Radius

float Radius { 100.f }

ForceCurve

FRuntimeFloatCurve ForceCurve

Public Methods

Return Name Description
AComposableCameraImpulseSphere
FVector GetForce virtual
FVector GetOrigin virtual
AActor * GetSelf virtual inline

AComposableCameraImpulseSphere

AComposableCameraImpulseSphere()

GetForce

virtual

virtual FVector GetForce(const FVector & CameraPosition)

GetOrigin

virtual

virtual FVector GetOrigin()

GetSelf

virtual inline

virtual inline AActor * GetSelf()

Private Attributes

Return Name Description
TObjectPtr< USphereComponent > SphereComponent

SphereComponent

TObjectPtr< USphereComponent > SphereComponent