R3d.Body:getTransform: Difference between revisions

From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>"
No edit summary
 
Line 13: Line 13:
=== Example ===
=== Example ===
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
local m1 = cube.body:getTransform()
cube:setMatrix(m1) -- aligns the cube shape to its body transform
</syntaxhighlight>
</syntaxhighlight>


{{R3d.Body}}
{{R3d.Body}}

Latest revision as of 08:19, 18 December 2025