Box2DSharp icon indicating copy to clipboard operation
Box2DSharp copied to clipboard

A C# port of Box2D

Box2DSharp

A C# port of Box2D

Synchronized commits:

9dc24a6fd4f32442c4bcf80791de47a0a7d25afb
2021/12/31 9:05:49

Communicate

Join the chat at Discord 加入QQ群

Unity test

Run CopyToUnityTestbed.bat to copy source code and test code to Unity project

Testbed

Driven by OpenTk + ImGui.NET

Test cases

Benchmark

  • [x] Add Pair Stress Test
  • [x] Tiles
  • [x] Tumbler

Bugs

  • [x] Chain Problem
  • [x] Dump Loader
  • [x] Skier

Collision

  • [x] Dynamic Tree
  • [x] Ray Cast
  • [x] Sensors
  • [x] Shape Cast
  • [x] Time of Impact

Continuous

  • [x] Bullet Test
  • [x] Continuous Test

Examples

  • [x] BodyTypes
  • [x] Breakable
  • [x] Car
  • [x] Character Collision
  • [x] Collision Filtering
  • [x] Collision Processing
  • [x] Compound Shapes
  • [x] Conveyor Belt
  • [x] Dominos
  • [x] HelloWorld
  • [x] Pinball
  • [x] Platformer
  • [x] Shape Editing
  • [x] Slider Crank 1
  • [x] Slider Crank 2
  • [x] Theo Jansen
  • [x] Web
  • [x] Wrecking Ball

Extra

  • [x] Position Test

Forces

  • [x] ApplyForce
  • [x] Friction
  • [x] Restitution

Geometry

  • [x] Convex Hull
  • [x] Distance Test
  • [x] Edge Shapes
  • [x] Edge Test
  • [x] Polygon Collision
  • [x] Polygon Shapes

Joints

  • [x] Bridge
  • [x] Cantilever
  • [x] Chain
  • [x] Distance Joint
  • [x] Gear
  • [x] Motor Joint
  • [x] Prismatic
  • [x] Pulley
  • [x] Revolute
  • [x] Wheel

Rope

  • [x] Bending

Solver

  • [x] Confined
  • [x] Heavy 1
  • [x] Heavy 2
  • [x] Mobile Balanced
  • [x] Mobile Unbalanced

Stacking

  • [x] Boxes
  • [x] Circles
  • [x] Pyramid

License

MIT license.