summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-02-21 10:29:49 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-02-21 10:29:49 +0100
commit0d6daec11f1663db8949e737619e6900e2bef277 (patch)
tree48bce9613dafce14d993d1b69a5e98d017e6735e
parentc04a9ff75128aed07a408c7c6bc9d4027d716bd3 (diff)
parent47a22135804ee9141bf10c071df931b5fbd6a16c (diff)
Merge pull request #3790 from JoshuaGrams/class-docs
docs: RigidBody2D._integrate_forces: Explain in more detail.
-rw-r--r--doc/base/classes.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 034d32576b..c1d0020cf6 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -28603,7 +28603,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="state" type="Physics2DDirectBodyState">
</argument>
<description>
- Override this function to use a custom force integrator. This allows to hook up to the physics processing and alter the simulation state for the object on every frame.
+ Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default it works in addition to the usual physics behavior, but [method set_use_custom_integrator] allows you to disable the default behavior and do fully custom force integration for a body.
</description>
</method>
<method name="set_mode">
@@ -28764,7 +28764,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="enable" type="bool">
</argument>
<description>
- Set to true if the body shall not do any internal force integration at all (like gravity or air friction). Only the [method _integrate_forces] will be able to integrate them if overrided.
+ Pass true to disable the internal force integration (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined.
</description>
</method>
<method name="is_using_custom_integrator">