October 2016
Intermediate to advanced
452 pages
9h 47m
English
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.
ActorComponent named RandomMovementComponent using the Editor wizard. Add the following class specifiers to the UCLASS macro:UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
UPROPERTY to the class header:UPROPERTY() float MovementRadius;
MovementRadius = 0;
TickComponent( ):AActor* Parent ...
Read now
Unlock full access