summaryrefslogtreecommitdiffstats
path: root/doc/classes/PhysicsServer2D.xml
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-07-07 19:09:15 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-07-10 16:28:34 +0200
commitf0a145bbf52b44c5e45ee292935163bc882fa063 (patch)
tree8916dffc139c16b29aae63d969ad897f81246fa1 /doc/classes/PhysicsServer2D.xml
parent56d712686496845cab3bfd6a6ed67e4efc2c39d5 (diff)
downloadredot-engine-f0a145bbf52b44c5e45ee292935163bc882fa063.tar.gz
Add a method to set the number of physics solver iterations in 3D
This is only for GodotPhysics, and adds a 3D counterpart to the 2D method that was recently added.
Diffstat (limited to 'doc/classes/PhysicsServer2D.xml')
-rw-r--r--doc/classes/PhysicsServer2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/PhysicsServer2D.xml b/doc/classes/PhysicsServer2D.xml
index 33cd61eb9c..67b27b174f 100644
--- a/doc/classes/PhysicsServer2D.xml
+++ b/doc/classes/PhysicsServer2D.xml
@@ -1024,7 +1024,7 @@
<argument index="0" name="iterations" type="int">
</argument>
<description>
- 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.
+ Sets the amount of iterations for calculating velocities of colliding bodies. The greater the amount of iterations, the more accurate the collisions will be. However, a greater amount of iterations requires more CPU power, which can decrease performance. The default value is [code]8[/code].
</description>
</method>
<method name="shape_get_data" qualifiers="const">