Difference between revisions of "Body:applyTorque"

m (included link to other languages)
m (See Also: Add some related functions)
 
(One intermediate revision by one other user not shown)
Line 14: 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 ==
 
== Other Languages ==
 
{{i18n|Body:applyTorque}}
 
{{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