[SOLVED]Change physics update to match animation style

Hi everyone,

For our current film on unity project we’d like to have the hair physics to match the animation style that is set at 24fps on twos (every 2 frames there’s an animation key)

Is it possible to affect the physic and set it to update every 2 frames? I’ve done some research but I found mostly articles talking about slowing down time.

Thanks

[edit] when talking about hair physics, I’m talking about the physic applied to the bones with rigidbodies that drives the hair cards

Yes, you may run the hair physics in a separate physics scene and make it run at the rate of your choice. Here’s an example of different physics scenes:

Ok thank you for the link! I tried the script and managed to slow down the physic of the scene2.
I’m now investigating to have the update every 2 frames, I might take a while because I’m a real newbie when it comes to programming

[edit] I went faster than expected, now I’m gonna try it with a more complex scene
[edit1] The script was easy to rearrange to fit our needs, thanks again!!

1 Like