R3d.DebugDraw.new

From GiderosMobile
Revision as of 02:12, 13 December 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2020.11<br/> '''Class:''' r3d.DebugDraw<br/> === Description === Creates a new r3d.DebugDraw instance. <source lang="lua"> r3...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2020.11
Class: r3d.DebugDraw

Description

Creates a new r3d.DebugDraw instance.

r3d.DebugDraw.new(r3dWorld)

Parameters

r3dWorld: (r3d.World) the react physics 3D world

Example

local world = r3d.World.new(0, -9.8, 0) -- gravity
local debugDraw = r3d.DebugDraw.new(world)
stage:addChild(debugDraw)




ReactPhysics3D