mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (4ba934bf3)
This commit is contained in:
@@ -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.
|
||||
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user