Adjusting Time Scale for Bullet Time Effects?

Options
Hey all!

I was wondering if Photon has support for adjusting the time scale in Unity? We have a mode in our game where the player is shot and we wanted to add a bullet time camera that runs at a 1/10 of normal time to let them view what happened for about 5 seconds and then snap back to the present when they re-spawn. We noticed this does cause some problems for players when this happens and I was wondering if there were any tips of tricks that people should know about?

Time.timeScale = 0.1F
Time.fixedDeltaTime = 0.02F * Time.timeScale;

Comments

  • vadim
    Options
    Hi,

    What kind of time scale support you expect from PUN? The only time related thing in PUN is server time which obviously can't help with client's time scale.

    Do you mean that time scale enabled on all clients synchronously? If not, how do you synchronize clients with different local times? In theory you can record what happens in a room and playback this at slow speed. But this is not related to networking.