Reply To: [NodeCanvas] Subtrees update interval

Forums 💬 NodeCanvas 🗨️ General Discussion [NodeCanvas] Subtrees update interval Reply To: [NodeCanvas] Subtrees update interval

#12995
leanon00
Participant

    well… after some tests it seems that the tick rate is ok.. only the runtime is not updated properly. Will update the same when you tick a behaviour tree manually.
    But I found another problem playing with the “Wait” action: If the update interval is not 0, the wait time needs to be multiplied with the update interval value so it will reflect the actual seconds. -> ActionTask.elapsedTime is not updated properly??

    Soo.. ActionTask.elapsedTime should be DateTime.now – startTime?

    You can test it with