Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 437 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 437 Bytes

simple-physics

An attempt at a simple rigid body physics engine in pure Python.

Features:

  • Rigid bodies with mass and restitution
  • Convex polygon collision detection (with separating axis teorem)
  • Impulse resolution
  • Single contact point detection

TODO:

  • Friction / damping
  • Gravity with turning effects
  • Equilibrium / stability
  • Optimization (currently it is very slow)

Requires pygame==1.9.4 and Python 3.6 to run