diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2019-09-24 14:45:03 -0300 |
---|---|---|
committer | Michael Alexsander <michaelalexsander@protonmail.com> | 2021-06-18 00:06:40 -0300 |
commit | 0ff4095b3689093680d4279851d6852eeaa0a0b3 (patch) | |
tree | f973969ce41b6810077e92c9cecca21d1c19f2b9 /doc/classes/PhysicsDirectBodyState2D.xml | |
parent | 407229aeeb2302e96acc26b34b8656ace0b1a20c (diff) |
Better format arguments in variant parser
Diffstat (limited to 'doc/classes/PhysicsDirectBodyState2D.xml')
-rw-r--r-- | doc/classes/PhysicsDirectBodyState2D.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/PhysicsDirectBodyState2D.xml b/doc/classes/PhysicsDirectBodyState2D.xml index 66ff16a3ce..65cb3e7f38 100644 --- a/doc/classes/PhysicsDirectBodyState2D.xml +++ b/doc/classes/PhysicsDirectBodyState2D.xml @@ -24,7 +24,7 @@ </return> <argument index="0" name="force" type="Vector2"> </argument> - <argument index="1" name="position" type="Vector2" default="Vector2( 0, 0 )"> + <argument index="1" name="position" type="Vector2" default="Vector2(0, 0)"> </argument> <description> Adds a positioned force to the body. Both the force and the offset from the body origin are in global coordinates. @@ -53,7 +53,7 @@ </return> <argument index="0" name="impulse" type="Vector2"> </argument> - <argument index="1" name="position" type="Vector2" default="Vector2( 0, 0 )"> + <argument index="1" name="position" type="Vector2" default="Vector2(0, 0)"> </argument> <description> Applies a positioned impulse to the body. An impulse is time-independent! Applying an impulse every frame would result in a framerate-dependent force. For this reason, it should only be used when simulating one-time impacts (use the "_force" functions otherwise). The offset uses the rotation of the global coordinate system, but is centered at the object's origin. |