R3d.DebugDraw.new
From GiderosMobile
Available since: Gideros 2020.11
Class: r3d.DebugDraw
Description
Creates a new r3d.DebugDraw instance. <syntaxhighlight lang="lua"> r3d.DebugDraw.new(r3dWorld) </source>
Parameters
r3dWorld: (r3d.World) the react physics 3D world
Example
<syntaxhighlight lang="lua"> local world = r3d.World.new(0, -9.8, 0) -- gravity local debugDraw = r3d.DebugDraw.new(world) stage:addChild(debugDraw) </source>