Skip to content

Pizzaandy/godot-box2d-v3

Repository files navigation

Godot Box2D v3 is a high-performance physics extension for Godot 4.3+ that implements Box2D v3. It can be considered a successor to the Godot Box2D extension.

Features

  • Improved stability and performance, especially for large piles of bodies
  • Faster, more accurate queries (e.g. cast_motion, intersect_ray)
  • Continuous collision detection (CCD) enabled by default for dynamic vs static collisions
  • Additional APIs to make the physics server easier and faster to use (docs coming soon)

Unsupported Features / Limitations

Most of the Physics API has been implemented, but the following features do not have parity with Godot Physics:

  • WorldBoundaryShape2D unsupported (planned for a future version of Box2D)
  • SeparationRayShape2D unsupported
  • Space parameters (space_set_param) unsupported because Box2D v3 uses a different solver
  • "Cast Ray" CCD mode (CCDMode::CCD_MODE_CAST_RAY) unsupported
  • Contacts are not visible when Visible Collision Shapes is enabled
  • Convex polygons cannot have more than 8 vertices (does not affect CollisionPolygon2D)
  • constant_linear_velocity and constant_angular_velocity unsupported on static bodies
  • CharacterBody2D: unstable movement on moving platforms

Planned Features

About

Godot extension that integrates the Box2D v3 physics engine

Resources

License

Stars

Watchers

Forks

Packages