During the development of our game Createrria we’ve tried to move from default 3D physic engine to 2D engine and this is what we’ve found out:
Generally it works same or even slower.
So I have few question about this:
-If our migration process was just a component replacement process, have we done something wrong (or we forgot about something)?
-Is current 2D implementation in terms of performance still in developement?
-Will be there any possibility to turn off 3D engine in game loop? Now both engines are in loop.
I found it to be a little faster, but not much. If you’re not using the 3D physics engine then it doesn’t really take any CPU time…you can see calls in the profiler, but I assume they just return without doing anything since the time is 0.00 ms.
Maybe - have you optimized the 2D fixed timestep and solver iterations?
They don’t take your old 3D values by default, but have their own default values.
I also find I can get away with slower timestep settings in the new 2D engine and still catch all the collisions I need to, compared to 3D. So there is some room for performance benefit there if you spend a bit of time finding the right value for your game.