Download Latest Version Phaser Box2D v1.1.0 source code.tar.gz (4.3 MB)
Email in envelope

Get an email when there's a new version of Phaser Box2D

Home / v1.1.0
Name Modified Size InfoDownloads / Week
Parent folder
PhaserBox2D.js 2025-01-01 586.8 kB
PhaserBox2D.min.js 2025-01-01 276.2 kB
PhaserBox2D-Debug.js.map 2025-01-01 1.6 MB
PhaserBox2D-Render.js 2025-01-01 605.2 kB
PhaserBox2D-Render.js.map 2025-01-01 1.6 MB
PhaserBox2D-Debug.js 2025-01-01 644.7 kB
Phaser Box2D v1.1.0 source code.tar.gz 2025-01-01 4.3 MB
Phaser Box2D v1.1.0 source code.zip 2025-01-01 4.3 MB
README.md 2025-01-01 1.7 kB
Totals: 9 Items   14.0 MB 0
  • The b2CastOutput function now takes two b2Vec instances, rayPoint and rayNormal. These are now passed in from locally cached values where-ever b2ShapeCast is called. This prevents a crash when b2TransformPoint is called on the output.point which was previously null.
  • Renamed smooth segment to chain segment as per [#783] (https://github.com/erincatto/box2d/pull/783)
    • b2CollideSmoothSegmentAndPolygon -> b2CollideChainSegmentAndPolygon
    • b2CollideSmoothSegmentAndCapsule -> b2CollideChainSegmentAndCapsule
    • b2CollideSmoothSegmentAndCircle -> b2CollideChainSegmentAndCircle
    • b2SmoothSegment -> b2ChainSegment
    • b2Shape.smoothSegment -> b2Shape.chainSegment and the type has changed from b2SmoothSegment to b2ChainSegment
    • b2_smoothSegmentShape -> b2_chainSegmentShape b2Shape_GetSmoothSegment->b2Shape_GetChainSegment`
  • Fix for skipped shape in ray cast callback (returning -1) (https://github.com/erincatto/box2d/commit/bcc834bc1dd07b2387aca5fa4cbbb34f612a2e72)
  • Removed unused automatic mass functions:
    • b2Body_SetAutomaticMass function removed
    • b2Body_GetAutomaticMass function removed
    • b2Body.automaticMass property renamed to b2Body.updateBodyMass
  • b2_huge renamed to B2_HUGE
  • b2_maxWorlds renamed to B2_MAX_WORLDS
  • b2_maxRotation renamed to B2_MAX_ROTATION
  • b2_pi renamed to B2_PI
  • b2_defaultMaskBits renamed to B2_DEFAULT_MASK_BITS
  • b2_maxPolygonVertices renamed to B2_MAX_POLYGON_VERTICES
  • b2_defaultCategoryBits renamed to B2_DEFAULT_CATEGORY_BITS
  • b2_treeStackSize renamed to B2_TREE_STACK_SIZE
Source: README.md, updated 2025-01-01