[DOCS] rephrase impulse

- improove coordinate system explanation
 - define usecase
This commit is contained in:
toger5 2019-01-29 13:05:20 +01:00
parent 70689ebffd
commit ef99f034b4
3 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@
<argument index="1" name="j" type="Vector3">
</argument>
<description>
Apply a positioned impulse (which will be affected by the body mass and shape). This is the equivalent of hitting a billiard ball with a cue: a force that is applied once, and only once. Both the impulse and the position are in global coordinates, and the position is relative to the object's origin.
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. The position uses the rotation of the global coordinate system, but is centered at the object's origin.
</description>
</method>
<method name="apply_torque_impulse">