(Redirected from Category:ReactPhysics3D)

Supported platforms: Platform android.pngPlatform ios.pngPlatform mac.pngPlatform pc.pngPlatform html5.pngPlatform winrt.pngPlatform win32.png
Available since: Gideros 2019.10


ReactPhysics3D is an open source 3D physics and collision engine [React Physics 3D home page].

To add ReactPhysics3D engine to your application you call:

require "reactphysics3d"

Basically you:

  1. create the 3d world =>
  2. add the 3d world DebugDraw (recommended for testing) =>
  3. create your body => r3d.World:createBody
  4. define the shape of your body => example: a sphere
  5. add the fixture => r3d.Body:createFixture
  6. add joints (optional) => example: a fixed joint r3d.World:createFixedJoint
  7. HAVE FUN!