Changelog of @hackage/apecs-physics 0.4.6

[0.4.6]

Changed

  • (#113) Ineffectual custom build removed from Setup.hs

[0.4.5]

Changed

  • (#78) Chipmunk bumped to v7.0.3, fixes the sysctl.h deprecation reported in #77

[0.4.4]

Changed

  • Increased upper bound apecs dependency

[0.4.3]

Added

  • addPostStepCallback

Changed

  • Now runs in MonadIO rather than IO

[0.4.2]

Added

  • Query Impulse for Constraints
  • Exposed the CollisionType Component

Changed

  • Fixed ConstraintList to actually yield constraints instead of shapes

[0.4.1]

Changed

  • Fix Point Query bug, should no longer give memory issues

[0.4.0]

Added

  • You now have access to colliding shapes in a Collision

[0.3.2]

Changed

  • Fixed links and added changelog to cabal file
  • Added version bounds for dependencies
  • Expanded haddocks

[0.3.1]

Changed

  • added apecs version bound

[0.3.0]

Added

  • ShapeList and ConstraintList components for bodies, that contain a list of entity indices of their shapes and constraints (read-only).

Changed

  • Shapes, Constraints, and CollisionHandlers now track their original Haskell representations, and can be meaningfully read.
  • Shape and Constraint now only have a single constructor, that explicitly takes an entity argument indicating what entity it belongs to. Previously, the interface suggested that shapes and constraints were properties of bodies, which was wrong.
  • Bodies now track their shapes and constraints in /mutable/ stores

Removed

  • The ShapeBody component has been removed. You can find out a shapes body by reading the Shape component's ShapeExtend constructor directly.