classref: Sync with current master branch (4ba934bf3)

This commit is contained in:
Rémi Verschelde
2022-09-15 10:40:29 +02:00
parent 16e513ed62
commit c273baa258
50 changed files with 1516 additions and 637 deletions

View File

@@ -866,7 +866,7 @@ This is equivalent to using :ref:`body_add_constant_force<class_PhysicsServer2D_
Adds a constant positioned force to the body that keeps being applied over time until cleared with ``body_set_constant_force(body, Vector2(0, 0))``.
``position`` is the offset from the body origin in global coordinates.
\ ``position`` is the offset from the body origin in global coordinates.
----
@@ -914,7 +914,7 @@ This is equivalent to using :ref:`body_apply_impulse<class_PhysicsServer2D_metho
Applies a positioned force to the body. A force is time dependent and meant to be applied every physics update.
``position`` is the offset from the body origin in global coordinates.
\ ``position`` is the offset from the body origin in global coordinates.
----
@@ -926,7 +926,7 @@ 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).
``position`` is the offset from the body origin in global coordinates.
\ ``position`` is the offset from the body origin in global coordinates.
----