/Box2DSharp

A C# port of Box2D

Primary LanguageC#MIT LicenseMIT

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

  • Add Pair Stress Test
  • Tiles
  • Tumbler

Bugs

  • Chain Problem
  • Dump Loader
  • Skier

Collision

  • Dynamic Tree
  • Ray Cast
  • Sensors
  • Shape Cast
  • Time of Impact

Continuous

  • Bullet Test
  • Continuous Test

Examples

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

Extra

  • Position Test

Forces

  • ApplyForce
  • Friction
  • Restitution

Geometry

  • Convex Hull
  • Distance Test
  • Edge Shapes
  • Edge Test
  • Polygon Collision
  • Polygon Shapes

Joints

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

Rope

  • Bending

Solver

  • Confined
  • Heavy 1
  • Heavy 2
  • Mobile Balanced
  • Mobile Unbalanced

Stacking

  • Boxes
  • Circles
  • Pyramid

License

MIT license.