返回排行榜

DanielChappuis/reactphysics3d

C++reactphysics3d.com

Open source C++ physics engine library in 3D

physics-enginecollision-detectionreactphysics3dcollisionsimulationgame-developmentanimation
Star 增长趋势
Star
1.8k
Forks
263
周增长
Issues
78
5001k1.5k
2013年10月2018年1月2022年4月2026年7月
README

ReactPhysics3D
ReactPhysics3D

ReactPhysics3D is an open source C++ physics engine library that can be used in 3D simulations and games.

www.reactphysics3d.com

Build

Drawing

Features

  • Rigid body dynamics
  • Discrete collision detection
  • Collision shapes (Sphere, Box, Capsule, Convex Mesh, Static Concave Mesh, Height Field)
  • Multiple collision shapes per body
  • Broadphase collision detection (Dynamic AABB tree)
  • Narrowphase collision detection (SAT/GJK)
  • Collision response and friction (Sequential Impulses Solver)
  • Joints (Ball and Socket, Hinge, Slider, Fixed)
  • Collision filtering with categories
  • Ray casting
  • Sleeping technique for inactive bodies
  • Multi-platform (Windows, Linux, Mac OS X)
  • No external libraries (do not use STL containers)
  • Documentation (user manual and Doxygen API)
  • Testbed application with demos
  • Integrated profiler
  • Debugging renderer
  • Logs
  • Unit tests

Documentation

You can find the user manual and the Doxygen API documentation here.

Branches

The "master" branch always contains the last released version of the library and some possible hot fixes. This is the most stable version. On the other side, the "develop" branch is used for development. This branch is frequently updated and can be quite unstable. Therefore, if you want to use the library in your application, it is recommended to checkout the "master" branch.

Questions

If you have any questions about the library and how to use it, you should use Github Discussions to read previous questions and answers or to ask new questions. If you want, you can also share your project there if you are using the ReactPhysics3D library.

Questions/Discussions

You can use the Discussions section to ask your questions or answer questions from other users of the library. Please, do not open a new issue to ask a question.

Issues

If you find any issue with the library, you can report it on the issue tracker here. Please, do not open a new issue to ask a question. Use the Discussions section for your questions.

Author

The ReactPhysics3D library has been created and is maintained by Daniel Chappuis.

License

The ReactPhysics3D library is released under the open-source ZLib license.

Sponsorship

If you are using this library and want to support its development, you can sponsor it here.

Credits

Thanks a lot to Erin Catto, Dirk Gregorius, Erwin Coumans, Pierre Terdiman and Christer Ericson for their amazing GDC presentations, their physics engines, their books or articles and their contributions on many physics engine forums.

Thanks to all the contributors that have reported issues or have taken the time to send pull requests.

相关仓库
liabru/matter-js

a 2D rigid body physics engine for the web ▲● ■

JavaScriptnpmMIT Licensephysicsjavascript
18.3k2k
jrouwe/JoltPhysics

A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West and Death Stranding 2.

C++MIT Licensephysicsvr
11k813
chrxh/alien

ALIEN is a CUDA-powered artificial life simulation program.

C++BSD 3-Clause "New" or "Revised" Licenseartificial-lifeopen-ended-evolution
alien-project.org
5.5k188
piqnt/planck.js

2D JavaScript Physics Engine

TypeScriptnpmMIT Licensegame-developmentjavascript
piqnt.com/planck.js/
5.3k254
schteppe/cannon.js

A lightweight 3D physics engine written in JavaScript.

JavaScriptnpmMIT Licensephysics-enginejavascript
schteppe.github.com/cannon.js
5k740
FormidableLabs/react-game-kit

Component library for making games with React & React Native

JavaScriptnpmMIT Licensephysics-bodiesspritesheet
reactnext.surge.sh
4.6k311
cyberbotics/webots

Webots Robot Simulator

C++Apache License 2.0roboticsrobot
cyberbotics.com
4.5k2k
avianphysics/avian

ECS-driven 2D and 3D physics engine for the Bevy game engine.

Rustcrates.ioApache License 2.0bevyphysics
crates.io/crates/avian3d
3.1k265
projectchrono/chrono

High-performance C++ library for multiphysics and multibody dynamics simulations

C++BSD 3-Clause "New" or "Revised" Licensesimulationphysics-simulation
projectchrono.org
2.9k617
bepu/bepuphysics2

Pure C# 3D real time physics simulation library, now with a higher version number.

C#Apache License 2.0physics-3dphysics-engine
2.9k310
schteppe/p2.js

JavaScript 2D physics library

JavaScriptnpmOtherphysics-enginephysics
2.7k330
simbody/simbody

High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton.

C++Apache License 2.0multibody-dynamicsphysics-engine
simtk.org/home/simbody
2.5k496