Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Adjusting Time Scale for Bullet Time Effects?

$
0
0
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;

Viewing all articles
Browse latest Browse all 15755

Trending Articles