PHE-v4 is a C++ physics engine designed for rigid body dynamics, constraints, and soft-body simulations, built on top of my OpenGL wrapper library for rendering. It aims to allow realistic simulations in real time, and performantly.
- Rigid Body Dynamics
- 3D rigid bodies with mass, inertia, linear and angular motion.
- Quaternions for rotation to avoid gimbal lock.
- Constraints and Pendulums
- Support for any number of bobs in a pendulum, allowing for the simulation of chaotic systems, like double pendulums.
- Soft Bodies with Runge-Kutta 4 integration.
- C++ 17 or later
- OpenGL 4
- GLEW
- glfw3
- GLM
- WrapGL (WrapGL GitHub page)
Note: WrapGL is an OpenGL wrapper I made to streamline OpenGL projects like this one.
Contributions are welcomed. Contact me via email (felipemd.dutra@gmail.com) for any information, help or questions.
I'll update the README with demos and code examples soon.