Reply To: [NodeCanvas] Subtrees update interval

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

#17163
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

Attachments:
  1. Unity_JkCZyx9lOd.gif

  1. testElapsedTime.unitypackage