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?
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
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.