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"

Do UE4 behaviour trees not tick every parent node to the leaf nodes every frame?

In most implementations of behaviour trees I've some across, the entire tree is ticked from the root downwards every frame, allowing sequences and selectors to re-check their conditions.

In effect this removes the needs for services.

Am I right in thinking this is not the case in ue4? It seems that while a child node is running, execution is firmly at that point. hence services which can act as interrupts. sort of.

this would explain a lot in my mind.

Product Version: Not Selected
more ▼

asked Dec 07 '14 at 06:51 PM in Blueprint Scripting

avatar image

Asher S Einhorn
660 94 81 183

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

1 answer: sort voted first

You're correct, this is part of our BTs design. Stuff gets ticked only when it requests to (active task, the services, some specific C++ implemented decorators) and the rest is just waiting for events.

Recently I've did some work on BP-implemented decorators (to essentially fix them) and if you use them to abort the flow (flow "observer") they will get ticked as well.



more ▼

answered Dec 07 '14 at 06:57 PM

avatar image

MieszkoZ STAFF
7.4k 225 57 415

avatar image Asher S Einhorn Dec 08 '14 at 12:35 PM

ah ok, this makes sense, and actually allows for much neater graphs. Thanks for the info Mieszko!

(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