From 88b1802132eef6f16b88f841a9886dbb293cbebc Mon Sep 17 00:00:00 2001 From: Rhathe Date: Wed, 19 May 2021 02:19:58 -0400 Subject: Enable setting of collision iterations in PhysicsServer2D This allows fine-tuning of collision iterations for more accurate collision physics with a performance cost. --- doc/classes/PhysicsServer2D.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/PhysicsServer2D.xml b/doc/classes/PhysicsServer2D.xml index 229facd08b..cfa4215fd4 100644 --- a/doc/classes/PhysicsServer2D.xml +++ b/doc/classes/PhysicsServer2D.xml @@ -1018,6 +1018,15 @@ Activates or deactivates the 2D physics engine. + + + + + + + Sets the amount of iterations for calculating velocities of colliding bodies. The greater the amount, the more accurate the collisions, but with a performance loss. + + -- cgit v1.2.3