C++ Physics

Open-source C++ projects categorized as Physics

Top 23 C++ Physic Projects

  • Bullet

    Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

    Project mention: X4's Upcoming Multiplayer Features Are a Huge Step Forward | reddit.com/r/pcgaming | 2023-03-14

    No, they replaced Bullet with Jolt. That is considerably more than "some adjustment", regardless of what you think of the result.

  • Box2D

    Box2D is a 2D physics engine for games

    Project mention: Where and how can I learn to make simulation programs? I like to be a simulation developer! | reddit.com/r/gamedev | 2023-01-15
  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • LiquidFun

    2D physics engine for games

    Project mention: How would I go about making a platform that wraps from one side of the screen to the other | reddit.com/r/gamedev | 2022-12-27

    Sadly the marketing department failed utterly, somehow thinking they could sell CFD to... the same kind of kids that spend 200 bucks on loot boxes. I think the absolutely batshit insane potential for dynamic 2D gameplay was barely scratched before they sold the code to Google (creating the LiquidFun project) and went their separate ways. These days the engine has branched into a lot of things, notably a 3D industrial version called ParticleWorks which is a CAD plugin for bringing SPH to mechanical engineering.

  • Piccolo

    Piccolo (formerly Pilot) – mini game engine for games104

    Project mention: Pilot Engine is a tiny game engine | news.ycombinator.com | 2022-06-01
  • PhysX


    Project mention: I looked into KSP2 Code, here is what I've found | reddit.com/r/KerbalSpaceProgram | 2023-02-24

    Unity’s default physics engine is literally PhysX (https://github.com/NVIDIAGameWorks/PhysX).

  • JoltPhysics

    A multi core friendly rigid body physics and collision detection library, written in C++, suitable for games and VR applications.

    Project mention: Rust – Are We Game Yet? | news.ycombinator.com | 2023-03-16

    As far as physics engines go: Jolt currently seems to kinda disrupt the decade-long equilibrium, at least as far as I'm aware:


  • root

    The official repository for ROOT: analyzing, storing and visualizing big data, scientifically

    Project mention: Root: Analyzing Petabytes of Scientific Data | news.ycombinator.com | 2023-02-01
  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • Simbody

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


    High-performance C++ library for multiphysics and multibody dynamics simulations (by projectchrono)

    Project mention: Open-source wind or solar power simulation | reddit.com/r/cpp | 2022-11-21
  • pioneer

    A game of lonely space adventure

    Project mention: What is the best space exploration game to play?,something like space engine and you can ride your own spaceship | reddit.com/r/space | 2023-02-28
  • gazebo-classic

    Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim

    Project mention: Trying to find info on how a bell with a multi-jointed clapper/pendulum might work. | reddit.com/r/AskPhysics | 2022-05-07
  • psi4

    Open-Source Quantum Chemistry – an electronic structure package in C++ driven by Python

    Project mention: Upgrading to Psi4 1.6 error | reddit.com/r/comp_chem | 2022-06-17

    The Github issue on https can be found here: https://github.com/psi4/psi4/issues/2613

  • sofa

    Real-time multi-physics simulation with an emphasis on medical simulation. (by sofa-framework)

  • GamePhysicsCookbook

    Source code for Game Physics Cookbook

  • stuntrally

    Note: development continues in stuntrally3. 3D racing game based on VDrift and OGRE with own Track Editor. The main repository with Stunt Rally sources and data.

    Project mention: Stunt Rally (a open source racing game) releases version 2.7 | reddit.com/r/opensource | 2022-11-20
  • gz-sim

    Open source robotics simulator. The latest version of Gazebo.

    Project mention: Gazebo is installed but unable to run! | reddit.com/r/robotics | 2022-11-26
  • harfang3d

    HARFANG 3D source code public repository

    Project mention: Harfang3D update: 3D Engine in Python | reddit.com/r/Python | 2022-12-15
  • ofxBox2d

    Openframework wrapper for box2d

  • Physics3D

    A 3D physics engine

    Project mention: Good open source projects to learn from? | reddit.com/r/cpp_questions | 2022-05-27

    Physics3D is I'd say a mid-size project. It is mostly C++11, so nothing cutting edge.

  • Rootex

    An advanced C++ 3D game engine powering an in-production game yet to be announced

  • espresso

    The ESPResSo package (by espressomd)

  • WarpX

    WarpX is an advanced, time-based electromagnetic & electrostatic Particle-In-Cell code.

    Project mention: Open source sofware/software contribution opportunities in Fusion | reddit.com/r/fusion | 2022-10-19

    WarpX: an advanced, t-based electromagnetic & electrostatic Particle-In-Cell code

  • cadabra2

    A field-theory motivated approach to computer algebra.

    Project mention: A basic introduction to NumPy's einsum | news.ycombinator.com | 2022-04-09

    If you're into tensor algebra i can only recommend the beautiful piece of Software Cadabra is:


    We wrote an article with it once, 40th order in the Lagrangian, perhaps 50k pages of calculations when all printed. Amazing tool! Thanks Kasper!

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-16.

C++ Physics related posts


What are some of the best open-source Physic projects in C++? This list will help you:

Project Stars
1 Bullet 10,398
2 Box2D 6,337
3 LiquidFun 4,477
4 Piccolo 4,366
5 PhysX 2,800
6 JoltPhysics 2,794
7 root 2,067
8 Simbody 2,018
9 CHRONO 1,683
10 pioneer 1,319
11 gazebo-classic 1,001
12 psi4 777
13 sofa 704
14 GamePhysicsCookbook 671
15 stuntrally 504
16 gz-sim 377
17 harfang3d 326
18 ofxBox2d 312
19 Physics3D 228
20 Rootex 184
21 espresso 183
22 WarpX 175
23 cadabra2 171
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives