Difference between revisions of "Body:applyTorque"
m (→See Also: Add some related functions) |
|||
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}} | {{#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
- Body
- Body:applyForce
- Body:applyAngularImpulse
- Body:getAngle
- Body:getAngularVelocity
- Body:setAngularVelocity
- Body:getInertia
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info