Hi, I’m trying to have a specific gameObject’s FixedUpdate() run 12 times per second, while maintaining every other’s FixedUpdate() untouched.
Is there any way to achieve this result?
Thanks.
Hi, I’m trying to have a specific gameObject’s FixedUpdate() run 12 times per second, while maintaining every other’s FixedUpdate() untouched.
Is there any way to achieve this result?
Thanks.
You know that Unity’s FixedUpdate callback is part of the physics system and the main point to have it is to have consistent physics behaviour. You shouldn’t really mess around with it. Apart from that the fised time step is a global setting so it can’t be changed for one script only.
However you can easily implement your own, seperate fixed update at any rate you want. You can use my CustomFixedUpdate class
You could use Coroutines too.