October 2016
Intermediate to advanced
452 pages
9h 47m
English
This recipe shows you how to create a placeable pickup that will respawn after a certain amount of time, suitable as an ammo or other pickup for an FPS.
Actor class called Pickup.Pickup.h:DECLARE_DELEGATE(FPickedupEventSignature)
virtual void NotifyActorBeginOverlap(AActor* OtherActor) override; UPROPERTY() UStaticMeshComponent* MyMesh; UPROPERTY() URotatingMovementComponent* RotatingComponent; FPickedupEventSignatureOnPickedUp;
MyMesh = CreateDefaultSubobject<UStaticMeshComponent>("MyMesh"); RotatingComponent = CreateDefaultSubobject<URotatingMovementComponent>("RotatingComponent"); ...Read now
Unlock full access