Child of ACameraActor not ticking
I've currently created a class based off ACameraActor called DynamicCamera. I know the class is created in the hierarchy and the begin play function is called, but Tick doesn't seem to be, even though I have PrimaryActorTick.bCanEverTick set to true.
asked Mar 05 '18 at 04:40 AM in C++ Programming
Yours Tick function doesn''t get called because you're missing Super::BeginPlay call in your BeginPlay function implementation.
Edit: If you skipped that Super call on purpose, you should at least call below line to allow your actor to tick.
Keep in mind that components of your camera class won't tick, tho. (AActor::BeginPlay implementation - Github acc linked to UE4 is required to see this).
If you have a Blueprint Class derived from this class, check your blueprint options under Actor Tick make sure Start with Tick Enabled is set to true. Some times the blueprint class overrides properties of the c++ base class.
answered Mar 05 '18 at 12:01 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here