Skip to content

A 2D (maybe 3D in the future) Physics engine based on the "Game Physics Engine Development: How to Build a Robust Commercial-Grade Physics Engine for Your Game" Book by Ian Millington

License

Notifications You must be signed in to change notification settings

makspll/mini-physics-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-Physics-Engine

A 2D (maybe 3D in the future) Iterative, Impulse-Based Physics engine based on the "Game Physics Engine Development: How to Build a Robust Commercial-Grade Physics Engine for Your Game" Book by Ian Millington

The engine is obviously not meant for production usage, it's a toy I wrote to help me understand how physics engines work! I wrote this way back and recently tranasfered the code from dropbox and introduced cmake.

Features

  • Various Force Generators: Springs, linear forces etc
  • Particles (Collisions)
  • Polygons (No Collisions yet)
  • Joints (fixed, spring etc.)

Build Instructions

  1. install Armadillo (Maths engine) using cmake
  2. install Allegro (Graphics for visualisation) using cmake
  3. run mkdir build; cd build; cmake .. in the repo's root directory

Usage

see main.cpp for a demo

About

A 2D (maybe 3D in the future) Physics engine based on the "Game Physics Engine Development: How to Build a Robust Commercial-Grade Physics Engine for Your Game" Book by Ian Millington

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published