/AdaPhysics2D

A 2D physics engine for Ada

Primary LanguageAdaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

AdaPhysics2D

This is a 2D physics engine for Ada. Check the wiki page to see how to use it with examples

Features

  • Multiple 2D worlds, with layering
  • Real time collision detection and impulse resolution
  • Circles, Rectangles with custom:
    • initial position and speed
    • gravity
    • material
  • Environments with custom area and material
  • Custom forces impulsions
  • Solid friction
  • Liquid friction
  • Archimede's principle
  • Ropes and springs to link entities

Projects using this engine

DemoAdaPhysics2D (with videos)