From cdd8334585a02ed3fe9766abe0e625d866f0b271 Mon Sep 17 00:00:00 2001 From: sdfgeoff Date: Thu, 25 Jan 2018 09:45:00 +0100 Subject: Exposed apply_torque_impulse to gdscript and added documentation for added apply_torque_impulse method --- doc/classes/RigidBody.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/RigidBody.xml b/doc/classes/RigidBody.xml index 0afad89f4c..f3acd443b7 100644 --- a/doc/classes/RigidBody.xml +++ b/doc/classes/RigidBody.xml @@ -36,6 +36,15 @@ 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. + + + + + + + Apply a torque impulse (which will be affected by the body mass and shape). This will rotate the body around the passed in vector. + + -- cgit v1.2.3