summaryrefslogtreecommitdiff
path: root/doc/classes/Physics2DServer.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-07-26 11:56:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-07-26 11:56:21 +0200
commit391e46830f4f08ddfc9104fc9182d6944f609635 (patch)
tree0cbe62dc1e099d23ea30449bc5ed1b8b411cb0c1 /doc/classes/Physics2DServer.xml
parentfd16dd48cbf309e06384535b5169aec57b590307 (diff)
doc: Sync classref with current source
Fix various missing arguments in bindings.
Diffstat (limited to 'doc/classes/Physics2DServer.xml')
-rw-r--r--doc/classes/Physics2DServer.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/classes/Physics2DServer.xml b/doc/classes/Physics2DServer.xml
index c302797704..a473de4ce8 100644
--- a/doc/classes/Physics2DServer.xml
+++ b/doc/classes/Physics2DServer.xml
@@ -287,6 +287,16 @@
Sets the transform matrix for an area.
</description>
</method>
+ <method name="body_add_central_force">
+ <return type="void">
+ </return>
+ <argument index="0" name="body" type="RID">
+ </argument>
+ <argument index="1" name="force" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="body_add_collision_exception">
<return type="void">
</return>
@@ -324,6 +334,26 @@
Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.
</description>
</method>
+ <method name="body_add_torque">
+ <return type="void">
+ </return>
+ <argument index="0" name="body" type="RID">
+ </argument>
+ <argument index="1" name="torque" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="body_apply_central_impulse">
+ <return type="void">
+ </return>
+ <argument index="0" name="body" type="RID">
+ </argument>
+ <argument index="1" name="impulse" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="body_apply_impulse">
<return type="void">
</return>
@@ -337,6 +367,16 @@
Adds a positioned impulse to the applied force and torque. Both the force and the offset from the body origin are in global coordinates.
</description>
</method>
+ <method name="body_apply_torque_impulse">
+ <return type="void">
+ </return>
+ <argument index="0" name="body" type="RID">
+ </argument>
+ <argument index="1" name="impulse" type="float">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="body_attach_object_instance_id">
<return type="void">
</return>