diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-02-25 13:19:42 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2018-02-25 15:14:25 +0700 |
commit | eb63f7b071093238da663e00e69abbbbf490a5af (patch) | |
tree | 01347d5d9ac8d2c7d03818faf02b7e142960c5e0 /doc/classes/RigidBody2D.xml | |
parent | bd3b958a2545c3f4dd4afa2e69b690a3c6aa78fc (diff) |
[DOCS] Sync classref with current source
Diffstat (limited to 'doc/classes/RigidBody2D.xml')
-rw-r--r-- | doc/classes/RigidBody2D.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/classes/RigidBody2D.xml b/doc/classes/RigidBody2D.xml index 719ddfffe4..d94c917af2 100644 --- a/doc/classes/RigidBody2D.xml +++ b/doc/classes/RigidBody2D.xml @@ -66,9 +66,11 @@ </return> <argument index="0" name="motion" type="Vector2"> </argument> - <argument index="1" name="margin" type="float" default="0.08"> + <argument index="1" name="infinite_inertia" type="bool" default="true"> </argument> - <argument index="2" name="result" type="Physics2DTestMotionResult" default="null"> + <argument index="2" name="margin" type="float" default="0.08"> + </argument> + <argument index="3" name="result" type="Physics2DTestMotionResult" default="null"> </argument> <description> Returns [code]true[/code] if a collision would result from moving in the given vector. [code]margin[/code] increases the size of the shapes involved in the collision detection, and [code]result[/code] is an object of type [Physics2DTestMotionResult], which contains additional information about the collision (should there be one). |