This a basic 2D physics engine written in c++.

You can test the samples I've created to demonstrate my engine's features:

  • Creation of bodies.
    • Attributes:
      • Position
      • Velocity
      • Mass
    • Dynamic bodies:
      • Forces can be applied to them.
      • Physical collision calculations.
    • Kinematic bodies
      • Not impacted by forces.
      • No physical collisions.
    • Statics bodies
      • Don't move.
      • Physical collision calculations.
  • Creation of collider.
    • Attributes
      • Shape
        • Circle
        • Rectangle
        • Polygon (only work for trigger for now)
      • Restitution
      • Friction
      • trigger mode

The engine has no extern dependecy, only the samples are dependant on SDL2  and ImGUI.

You can visit my github if your more interested: https://github.com/Chocolive24/PhysicsEngine
You can also read my blog-post which talks about how I optimize my engine : https://chocolive24.github.io

The web version isn't perfect yet, so I'm working on it in my spare time to improve it.

Updated 19 days ago
StatusPrototype
CategoryTool
PlatformsWindows, HTML5
AuthorChocolive
Tags2D, cpp, Game engine, Physics, software

Download

Download
SamplesV1.zip 951 kB

Comments

Log in with itch.io to leave a comment.

Même Feature que le Miaou Engine, bizarre...
Surement un coup de l'espionnage industriel ca.