State update frequency

NodeCanvas Forums Support State update frequency

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12110
    kurasu1415
    Participant

    I’m wondering how often states update. I’m assuming that states update every frame using the Unity Update method, is this true? If so, is there a way to make a state update on FixedUpdate()? The only solution I see currently is to check the name of the current state in fixed updated and react based on that. Is there a better way?

    Thanks.

    #12115
    Gavalakis
    Keymaster

    Hello,
    Yes, the FSM (thus states of it) update from within a unity normal Update call.
    If you are making custom action tasks though (which are assigned on FSM States), you can make the action task specifically update in fixed update.
    Please take a look at this [Documentation Section].

    Is this something 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.