diff options
author | Jorrit Rouwe <jrouwe@gmail.com> | 2023-09-26 21:19:58 +0200 |
---|---|---|
committer | Jorrit Rouwe <jrouwe@gmail.com> | 2023-09-26 21:19:58 +0200 |
commit | eff7f27c48faaee4de915db598705d7946d97a0f (patch) | |
tree | a5d3f0254e7e3d5b4cab3f6d83b0999b3fb157b5 /platform/javascript/audio_driver_javascript.cpp | |
parent | b905959f4382020b424fa093c380e163a7a7f404 (diff) | |
download | redot-engine-eff7f27c48faaee4de915db598705d7946d97a0f.tar.gz |
Fixed performance regression in godot 4.2 in RigidBody2D/3D and PhysicalBone3D
After change https://github.com/godotengine/godot/commit/c11825686589696f4c03948c11068a30c6c91796 the body state is synched 2x, but this is only needed if _integrate_forces is overridden.
Adding this extra if increases the FPS by 2.5% in a heavy physics scene, see: https://github.com/godot-jolt/godot-jolt/discussions/611
Diffstat (limited to 'platform/javascript/audio_driver_javascript.cpp')
0 files changed, 0 insertions, 0 deletions