Skip to content

Fixed point C# implementation of the Box2D physics engine 💥

License

Notifications You must be signed in to change notification settings

Fractural/Box2DFixedNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Fixed point C# implementation of the Box2D physics engine 💥

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages