RepositoryCPTPortugal
FE

felipeek/raw-physics

Simple rigid-body physics simulator powered by XPBD.

207stars
17forks
1issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: collision-manifold

#1 Repository of the month

1
TINIX TRENDING·Topic: collision-resolution

#1 Repository of the month

1
TINIX TRENDING·Topic: pbd

#1 Repository of the month

raw-physics

Welcome to raw-physics, a real-time rigid body physics simulator.

example1

example2

example3

Build and run to see more examples!

Building

Linux and OS X

You need libglew-dev and libglfw3-dev. Simply run:

$ make

The binary will be available in ./bin/release/raw-physics.

Windows

MSVC is a prerequisite. Simply run:

> build.bat

The binary will be available in ./bin/raw-physics.

References

Collision response was implemented based on Detailed Rigid Body Simulation with Extended Position Based Dynamics [1]. Collision detection was implemented with the help of GJK [2] and EPA [3]. The contact manifold generation was implemented using Sutherland-Hodgman algorithm [4] in 3-dimensions, Robust Contact Creation for Physics Simulations [5] and the Collision Manifolds Tutorial from Newcastle University [6].

Similar Projects

Discover other similar projects and AI models.

RepositoryJavaScript
liabru/matter-js

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

18.7k
Sep 30, 2026
RepositoryC++
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.

12.6k
Nov 28, 2026
RepositoryRust
avianphysics/avian

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

3.3k
Nov 30, 2026
RepositoryC#
bepu/bepuphysics2

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

3.0k
Oct 11, 2026
RepositoryC++
DanielChappuis/reactphysics3d

Open source C++ physics engine library in 3D

1.8k
Mar 28, 2025
RepositoryRust
dimforge/nphysics

2 and 3-dimensional rigid body physics engine for Rust.

1.7k
Jul 27, 2021
RepositoryJava
dyn4j/dyn4j

Java Collision Detection and Physics Engine

541
Jul 18, 2026
RepositoryC++
louis-langholtz/PlayRho

An interactive physics engine & library.

154
Apr 30, 2024
RepositoryJava
stephengold/Minie

Integrate Bullet Physics and V-HACD into jMonkeyEngine projects (code has New BSD license)

142
Nov 24, 2026