Difference between revisions of "R3d.Body:applyTorque"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 6: Line 6:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
r3d.Body:applyTorque(torqueX,torqueY,torqueZ)
 
r3d.Body:applyTorque(torqueX,torqueY,torqueZ)
</source>
+
</syntaxhighlight>
  
 
=== Parameters ===
 
=== Parameters ===
Line 16: Line 16:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
if isleft then ship.body:applyTorque(0, -24 * 64, 0) end
 
if isleft then ship.body:applyTorque(0, -24 * 64, 0) end
</source>
+
</syntaxhighlight>
  
 
{{R3d.Body}}
 
{{R3d.Body}}

Latest revision as of 14:32, 13 July 2023