ReactPhysics3D: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
No edit summary |
||
| Line 5: | Line 5: | ||
=== Description === | === Description === | ||
ReactPhysics3D is an open source 3D physics and collision engine [[https://www.reactphysics3d.com/ React Physics 3D home page]]. | ReactPhysics3D is an open source 3D physics and collision engine [[https://www.reactphysics3d.com/ React Physics 3D home page]] (not up to date!). | ||
You can also check '''[[https://github.com/DanielChappuis/reactphysics3d React Physics 3D GitHub]]'''. | |||
Changelog '''[[https://github.com/DanielChappuis/reactphysics3d/blob/master/CHANGELOG.md?plain=1 React Physics 3D Changelog]]'''. | |||
'''Gideros ReactPhysics3D version is version 0.10.2'''. | |||
To add '''ReactPhysics3D engine''' to your application you call: | To add '''ReactPhysics3D engine''' to your application you call: | ||
Revision as of 00:45, 15 December 2025
Supported platforms: ![]()
![]()
![]()
![]()
![]()
![]()
![]()
Available since: Gideros 2019.10
Description
ReactPhysics3D is an open source 3D physics and collision engine [React Physics 3D home page] (not up to date!).
You can also check [React Physics 3D GitHub].
Changelog [React Physics 3D Changelog].
Gideros ReactPhysics3D version is version 0.10.2.
To add ReactPhysics3D engine to your application you call:
require "reactphysics3d"
Basically you:
- create the 3d world => r3d.World.new
- add the 3d world DebugDraw (recommended for testing) => r3d.DebugDraw.new
- create your body => r3d.World:createBody
- define the shape of your body => example: a sphere r3d.SphereShape.new
- add the fixture => r3d.Body:createFixture
- add joints (optional) => example: a fixed joint r3d.World:createFixedJoint
- HAVE FUN!
Classes