Override of AActor::Tick is never called, despite CanEverTick being set.
So I'm trying to run some code on an actor every tick. The class extends from AActor, and I've included this line in the header:
In the constructor of the .cpp file, I have these lines:
And I also have this function defined:
However, the Tick function is never called, and the text never printed. Have I forgotten anything?
asked Sep 17 '15 at 12:22 PM in C++ Programming
I managed to solve this by adding
To the BeginPlay() function. This seems a little odd though, considering I'd supposedly already set that in the constructor.
answered Sep 17 '15 at 12:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here