07-06-2021, 07:24 AM
(This post was last modified: 07-06-2021, 07:28 AM by josemendez.)
(06-06-2021, 08:02 PM)ByGuest Wrote: Hello,
Why low fps? (on android mobile device)
No optimization for mobile?
Obi is extremely well optimized for mobile. However, I see you're using the fallback backend (Oni), you should be using Burst which gives better performance on mobile.
Also, how many substeps are you using? these largely determine performance vs quality.
(06-06-2021, 08:02 PM)ByGuest Wrote: Obi physics methods fps drops.
Is there a frame loop amount?
Physics in Unity (including Obi) happen in FixedUpdate(). How often FixedUpdate is called is controlled by Unity's Time settings, specifically fixed timestep and max fixed timestep. See:
https://docs.unity3d.com/Manual/class-TimeManager.html
https://docs.unity3d.com/ScriptReference/Time.html