All Versions
4
Latest Version
Avg Release Cycle
847 days
Latest Release
135 days ago

Changelog History

  • v2.4.1

    October 18, 2020

    ๐Ÿ”„ Changes for version 2.4.1

    API Changes

    • Extended distance joint to have a minimum and maximum limit.
    • โœ‚ Removed rope joint. Use the distance joint instead.
    • ๐Ÿ‘‰ B2_USER_SETTINGS and b2_user_settings.h can control user data, length units, and maximum polygon vertices.
    • Default user data is now uintptr_t instead of void*
    • b2FixtureDef::restitutionThreshold lets you set the restitution velocity threshold per fixture.

    ๐Ÿ’ฅ BREAKING Changes

    • ๐Ÿ’ฅ BREAKING: distance joint 0 stiffness now means the spring is turned off rather than making the joint rigid.
    • ๐Ÿ’ฅ BREAKING: distance joint minimum and maximum must be set correctly to get old behavior.

    Infrastructure

    • Library installation function available in CMake.
    • Shared library (DLL) option available.
    • ๐Ÿ› Bug fixes
  • v2.4.0

    July 27, 2020

    ๐Ÿ”„ Changes for version 2.4.0

    Infrastructure

    • ๐Ÿ“š Documentation in Doxygen format
    • ๐Ÿ‘ท CMake build system
    • โœ… Unit test support
    • โœ… Continuous integration testing using Travis CI
    • Limited use of C++11 (nullptr and override)
    • ๐Ÿ‘ Restructured folders and renamed files to better match open-source standards
    • MIT License
    • โœ‚ Removed float32 and float64
    • ๐Ÿ”— Linked the Box2D project to GitHub Sponsors

    Collision

    • Chain and edge shape must now be one-sided to eliminate ghost collisions
    • Broad-phase optimizations
    • โž• Added b2ShapeCast for linear shape casting

    Dynamics

    • Joint limits are now predictive and not stateful
    • Experimental 2D cloth (rope)
    • b2Body::SetActive -> b2Body::SetEnabled
    • ๐Ÿ‘ Better support for running multiple worlds
    • ๐Ÿ– Handle zero density better
      • The body behaves like a static body
      • The body is drawn with a red color
    • โž• Added translation limit to wheel joint
    • World dump now writes to box2d_dump.inl
    • Static bodies are never awake
    • All joints with spring-dampers now use stiffness and damping
    • โž• Added utility functions to convert frequency and damping ratio to stiffness and damping

    โœ… Testbed

    • โœ… Testbed uses dear imgui
    • glad OpenGL loader
    • OpenGL 3.3 required
  • v2.3.1

    April 06, 2014
  • v2.3.0

    November 03, 2013
    • Polygon creation now computes the convex hull. Vertices no longer need to be ordered.
    • ๐Ÿ”€ The convex hull code will merge vertices closer than dm_linearSlop. This may lead to failure on very small polygons.
    • โž• Added b2MotorJoint.
    • ๐Ÿ› Bug fixes.