You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added property .useFrictionGravityOnZeroGravity to World.
Renamed .useWorldGravityForFrictionApproximation in World to .useWorldGravityAsFrictionGravity to keep things more uniform.
Sleep improvements.
Added property .frictionIterations to GSSolver, and removed .skipFrictionIterations.
Upgraded to gl-matrix 2.1.0.
Removed QuadTree.
Removed mat2.
Added Utils.extend.
Added methods .setStiffness and .setRelaxation methods to Constraint.
Removed properties .stiffness, .relaxation and .useGlobalEquationParameters from GSSolver.
Added methods .setGlobalStiffness, .setGlobalRelaxation, .setGlobalEquationParameters to World.
Renamed property .eps to .epsilon for Equation.
Removed property .useBoundingBoxes from NaiveBroadphase in favor of the new property .boundingVolumeType in Broadphase.
Added methods .getMaxForce and .setMaxForce to LockConstraint.
Changed property names .bi, .bj, .ni, .ri, .rj to .bodyA, .bodyB, .normalA, .contactPointA, .contactPointB in Equation, ContactEquation and FrictionEquation classes.
Removed IslandSolver in favor of the new property World.islandSplit.
Changed constructors of the Constraints so they all take an options object as last parameter.
Added property .collideConnected to Constraint.
Added property .islandSplit to World.
Added methods .disableBodyCollision and .enableBodyCollision to World.
Added properties .useWorldGravityForFrictionApproximation and .frictionGravity to World.
Added Heightfield class.
Removed properties .defaultFriction and .defaultRestitution from World, in favor of .defaultContactMaterial.
Added property .enabled to Equation.
Added property .surfaceVelocity to ContactMaterial.
Added property .sensor to Shape.
World now emits events 'beginContact', 'endContact' and 'preSolve'.
Added property .gravityScale to Body.
Renamed class SAP1DBroadphase to SAPBroadphase.
Added property .interpolatedPosition to `Body``.
Added method .internalStep to World.
Added property .applyGravity to World.
Renamed method .computeC to .computeInvC in Equation, and made it compute the inverse.
Added static method Utils.splice.
Added property .world to Body.
Added property .fixedRotation to Body.
Added class AABB.
Added properties .aabb and .aabbNeedsUpdate to Body, as well as a method .updateAABB.
Added property .useBoundingBoxes to NaiveBroadphase.
Added static method Broadphase.aabbCheck.
Added method .computeAABB to Shape.
Added static method Broadphase.canCollide.
Body now inherits from EventEmitter, and dispatches events 'sleep','sleepy' and 'wakeup'.
Added properties .allowSleep, .sleepState, .sleepSpeedLimit, .sleepTimeLimit, .lastTimeSleepy as well as methods .sleep, .wakeUp and .sleepTick to Body.