Releases: phaserjs/phaser-box2d
Releases · phaserjs/phaser-box2d
Phaser Box2D v1.1.0
- The
b2CastOutputfunction now takes twob2Vecinstances,rayPointandrayNormal. These are now passed in from locally cached values where-everb2ShapeCastis called. This prevents a crash whenb2TransformPointis called on theoutput.pointwhich was previously null. - Renamed smooth segment to chain segment as per #783 (erincatto/box2d#783)
b2CollideSmoothSegmentAndPolygon->b2CollideChainSegmentAndPolygonb2CollideSmoothSegmentAndCapsule->b2CollideChainSegmentAndCapsuleb2CollideSmoothSegmentAndCircle->b2CollideChainSegmentAndCircleb2SmoothSegment->b2ChainSegmentb2Shape.smoothSegment->b2Shape.chainSegmentand the type has changed fromb2SmoothSegmenttob2ChainSegmentb2_smoothSegmentShape->b2_chainSegmentShape
b2Shape_GetSmoothSegment->b2Shape_GetChainSegment`
- Fix for skipped shape in ray cast callback (returning -1) (erincatto/box2d@bcc834b)
- Removed unused automatic mass functions:
b2Body_SetAutomaticMassfunction removedb2Body_GetAutomaticMassfunction removedb2Body.automaticMassproperty renamed tob2Body.updateBodyMass
b2_hugerenamed toB2_HUGEb2_maxWorldsrenamed toB2_MAX_WORLDSb2_maxRotationrenamed toB2_MAX_ROTATIONb2_pirenamed toB2_PIb2_defaultMaskBitsrenamed toB2_DEFAULT_MASK_BITSb2_maxPolygonVerticesrenamed toB2_MAX_POLYGON_VERTICESb2_defaultCategoryBitsrenamed toB2_DEFAULT_CATEGORY_BITSb2_treeStackSizerenamed toB2_TREE_STACK_SIZE
Phaser Box2D v1.0.0
The initial release of the Phaser Box 2D library.