UNPKG

planck-js

Version:

2D physics engine for JavaScript/HTML5 game development

23 lines (21 loc) 1.35 kB
## 0.1 * source code directory layout changed, classes moved around! * b2Class renamed to Class * Dumping is removed, Drawing is moved to Stage viewer * GrowableStack replaced with native array, Timer is changed * Math is changed and split * Contact and Collide classes merged, Contact registration/creation is changes * Shape.ComputeDistanceProxy is added * Collision and WorldCallback files merged with others * TestOverlap moved from Collision to Distance * Manifold files is added, WorldManifold.Initialize moved to Manifold.GetWorldManifold * ContactFilter.ShouldCollide moved to Fixture? * ContactSolver/VelocityConstraint/PositionConstraint merged with Contact * ContactManager/ContactListener merged into World (and Contact) * Island/World.Solve/SolveTOI moved to new Solver * Position/Velocity correction objects assigned to owner bodies * binary flags changes to boolean fields (awakeFlag, autoSleepFlag, bulletFlag, fixedRotationFlag, activeFlag, enabledFlag, islandFlag, touchingFlag, filterFlag, bulletHitFlag, toiFlag, clearForces, newFixture, locked) * Body.Is[Type]/Set[Type] added * Shape, Body and Joint string types ('circle', 'dynamic', 'mouse-joint', etc.) * Vec2.Min/Max renamed to Vec2.Upper/Lower and several other methods added * Distance method, DistanceInput/Output and SimplexCache merged into a stateful Distance class