Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 2.1 KB

README.md

File metadata and controls

63 lines (44 loc) · 2.1 KB

Box2D Logo

Box2D Fixed.NET

⚠️ WIP & Incomplete ⚠️

Fixed-point Box2D library in C#. It combines the FixedMath.Net repo with codingben (Ben Ukhanov)'s box2D-netstandard.

Box2D might not be the best option For deterministic rollback, because some features may prevent easy loading and unloading of state. See Rollback Networking in Dragon Saddle Melee.

Source

Contributing

Anyone who wants to contribute to this repository:

  • The changes will be in the new branch (feature/new or feature/bug-fix).
  • The new pull request will be started.
  • The new version will be published.

Features

Collision

  • Continuous collision detection.
  • Contact callbacks: add, persist, remove.
  • Convex polygons and circles.
  • Multiple shapes per body.
  • One-shot contact manifolds.
  • Incremental sweep-and-prune broadphase.
  • Efficient pair management.
  • Fast broadphase AABB queries.
  • Collision groups and categories.

Physics

  • Continuous physics with time of impact solver.
  • Persistent body-joint-contact graph.
  • Island solution and sleep management.
  • Contact, friction, and restitution.
  • Stable stacking with a linear-time solver.
  • Revolute, prismatic, distance, pulley, gear, and mouse joints.
  • Joint limits, motors, and friction.
  • Momentum decoupled position correction.
  • Fairly accurate reaction forces/impulses.

System

Documentation

License

Original C++ Box2D is developed by Erin Catto, under the MIT license.