FixedUpdate in custom task

NodeCanvas Forums General Discussion FixedUpdate in custom task

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11235
    Tim
    Participant

    This is probably an easy one, but I don’t wee how to call FixedUpdate or LateUpdate on a custom task. ActionTask appears to only have OnUpdate. I see static methods AddFixedUpdateMethod and AddLateUpdateMethod in MonoManager, but I don’t see them being called anywhere. Any thoughts on how to use FixedUpdate in an custom task?

    Thanks!

    #11243
    Gavalakis
    Keymaster

    Hey,

    ActionTasks only get an Update callback for performance while FixedUpdate or LateUpdate callbacks should be manually registered if need so.
    Here is example of how to do that:

    Let me know if that works for you.
    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.