Actor components are an easy way to implement common functionality that should be shared between Actors. Actor components aren't rendered, but can still perform actions such as subscribing to events, or communicating with other components of the Actor that they are present within.
RandomMovementComponentusing the Editor wizard. Add the following class specifiers to the
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
UPROPERTYto the class header:
UPROPERTY() float MovementRadius;
MovementRadius = 0;
AActor* Parent ...