Releases: phaserjs/phaser-box2d
Releases · phaserjs/phaser-box2d
Phaser Box2D v1.1.0
- The
b2CastOutput
function now takes twob2Vec
instances,rayPoint
andrayNormal
. These are now passed in from locally cached values where-everb2ShapeCast
is called. This prevents a crash whenb2TransformPoint
is called on theoutput.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 fromb2SmoothSegment
tob2ChainSegment
b2_smoothSegmentShape
->b2_chainSegmentShape
->
b2Shape_GetChainSegment`
- Fix for skipped shape in ray cast callback (returning -1) (erincatto/box2d@bcc834b)
- Removed unused automatic mass functions:
b2Body_SetAutomaticMass
function removedb2Body_GetAutomaticMass
function removedb2Body.automaticMass
property renamed tob2Body.updateBodyMass
b2_huge
renamed toB2_HUGE
b2_maxWorlds
renamed toB2_MAX_WORLDS
b2_maxRotation
renamed toB2_MAX_ROTATION
b2_pi
renamed toB2_PI
b2_defaultMaskBits
renamed toB2_DEFAULT_MASK_BITS
b2_maxPolygonVertices
renamed toB2_MAX_POLYGON_VERTICES
b2_defaultCategoryBits
renamed toB2_DEFAULT_CATEGORY_BITS
b2_treeStackSize
renamed toB2_TREE_STACK_SIZE
Phaser Box2D v1.0.0
The initial release of the Phaser Box 2D library.