Skip to content

Latest commit

 

History

History
71 lines (62 loc) · 6.67 KB

CHANGELOG.md

File metadata and controls

71 lines (62 loc) · 6.67 KB

Phaser Box2D Change Log

Version 1.2.0 - January 8th 2025

  • Sensor shapes now always generate events when created

Version 1.1.0 - December 30th 2024

  • 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 (erincatto/box2d#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

Box2D Upstream Checklist

✔️ = The upstream commit is 100% integrated
🔎 = The upstream commit hasn't yet been looked at
💻 = The upstream commit has been partially integrated

When converting a commit it's at your discretion if you want to include the asserts and/or comments from upstream. In some cases, they can be useful (which is why they're in some areas of the current code), but they're computationally expensive for testing. The production build strips them out, the dev build does not.

We're happy to consider a commit as fully completed even if it has asserts or comments not moved over. Matching the API 1:1 is more important.

Status Commit Description Details
✔️ ec0e21c Update to Version 3 (#769) The base library is built from this release
✔️ 8e7a17c Update README.md Done
✔️ 2b880d1 Fix null being passed to memcpy (#770) Done
✔️ 0e333ff Custom SSE2 and Neon (#772) Done
🔎 9314f30 Cross platform determinism (#773) Pending
✔️ 5fdbbc8 Misc Issues (#783) Done
✔️ e6cbbfc Linux gcc fixes (#784) Done
🔎 d323a0e Cross platform random numbers for samples (#785) TODO: b2Shape_RayCast now uses b2RayCastInput
🔎 c69eee4 Update AMD benchmarks (#787) TODO: IsSleepingEnabled
🔎 c56a76d Array refactor (#796) Pending
🔎 df7373c New capsule collider (#804) Pending
🔎 67b9835 Fix missing hit events (#808) Pending
🔎 e7cb9f0 Explosion features (#810) Pending
🔎 b864f53 Friction and restitution mixing rules (#811) Pending
🔎 a7123be Cast benchmark (#817) Pending
✔️ 2dbb681 Removed unused automatic mass (#819) Done
💻 aee18c7 fix atan2 and add more unit tests (#821) TODO: b2World_OverlapPoint
🔎 87e13e4 Fixed bug with static shape recreation (#822) Pending
🔎 0f192cd Bounding box performance experiments (#829) Pending
🔎 90c2781 Event bookend (#837) Pending
💻 a9f2c92 Ragdoll benchmark (#838) TODO: b2Chain_GetFriction
🔎 41e067c Fix sensor event order (#840) Pending
🔎 2c939c2 Faster continuous (#847) Pending
✔️ bcc834b fix for skipped shape in ray cast callback (returning -1) Pending
🔎 d1581fb Minor fixes (#852) Pending
💻 f0763ac Timer update (#856) TODO: b2DynamicTree_RayCast
🔎 92dc214 Sensor Overlaps (#858) Pending
🔎 f377034 World API coverage (#859) Pending