Difference between revisions of "Body:applyTorque"

m (See Also: Add some related functions)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
 
Apply torque to a body.
 
Apply torque to a body.
  
Line 15: Line 14:
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 +
* [[Body:applyForce]]
 +
* [[Body:applyAngularImpulse]]
 +
* [[Body:getAngle]]
 +
* [[Body:getAngularVelocity]]
 +
* [[Body:setAngularVelocity]]
 +
* [[Body:getInertia]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Apply torque to a body.
+
{{#set:Description=Apply torque to a body.}}
}}
+
{{#set:Since=000}}
 +
 
 +
== Other Languages ==
 +
{{i18n|Body:applyTorque}}

Latest revision as of 19:09, 25 November 2019

Apply torque to a body.

Torque is like a force that will change the angular velocity (spin) of a body. The effect will depend on the rotational inertia a body has.

Function

Synopsis

Body:applyTorque( torque )

Arguments

number torque
The torque to apply.

Returns

Nothing.

See Also


Other Languages