Closed yosuke closed 3 months ago
Fixed Timestep値とMaximum Allowed Timestepが重要。Fixed Timestepに間に合わなかったとき、の統計が欲しい。 https://docs.unity3d.com/ja/560/Manual/class-TimeManager.html
実時間とUnity内時間の良い解説記事 https://qiita.com/yuki2006/items/923fa8e64e11a2ab159c
プロファイラーカウンターを使うとプロファイラー画面上で時系列を表示できて便利そう。 https://blog.unity.com/ja/engine-platform/customizing-performance-metrics-in-the-unity-profiler
表示機能は実装完了。 Maximum Allowed Timestepを超えるとfixedUpdateがスキップされてしまうので、大き目の値に変更しておいた方が良いかもしれない。
@MaruiYuta こちらのブランチに置いておきました。何かあったらissueに書き込んでください。 https://github.com/pwri-opera/OperaSim-PhysX/tree/feature/realtime_factor_profiler
下のURLで表示できるfpsだけではなく、物理シミュレーションのレートも表示したい。 https://www.sejuku.net/blog/82841