Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

alt text alt text

Any suggestions?

Product Version: UE 4.18
capture.png (32.5 kB)
notick.png (136.8 kB)
more ▼

asked Mar 05 '18 at 04:40 AM in C++ Programming

avatar image

10 7 8 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first


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.

 RegisterAllActorTickFunctions(true, false);

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).


more ▼

answered Mar 05 '18 at 12:21 PM

avatar image

1.2k 20 23 40

avatar image Cd1232 Mar 05 '18 at 07:51 PM

Can't believe I didn't see that. That was it. Thanks

avatar image Atheist91 Mar 05 '18 at 07:53 PM

Happens to everyone. :D You're welcome.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Mar 05 '18 at 12:01 PM

avatar image

86 1 6 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question