#how to specify the calling frequency of FixedUpdate

4 messages · Page 1 of 1 (latest)

nimble lark
#

Hello everyone, I want to know how to specify the calling frequency of FixedUpdate, such as 120HZ or higher or lower, or whether I can implement a schedule myself so that I can customize its waiting time so that I can control the calling frequency. Another question here is what are the logical differences between FixedUpdate and the schedule I implemented myself? What is the difference if I put the corresponding system on them?
Sorry, I may have asked some stupid questions. I am a beginner and I don’t know much about bevy.

hushed bobcat
#

app.insert_resource(Time::<Fixed>::from_hz(120.0))

#

I believe this should do the trick

#

(I don't know the answers to the other questions)