Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Matter v0.4.0

Compare
Choose a tag to compare
@evaera evaera released this 25 Jun 08:10
· 167 commits to main since this release

[0.4.0] - 2022-06-25

Changed

  • Modifying the World while inside World:query can no longer cause iterator invalidation. All operations to World while inside a query are now safe. πŸŽ‰
    • If you aren't using Loop, you must call World:optimizeQueries periodically (e.g., every frame)
  • If a system stops calling queryChanged, its internal storage will now be cleaned up. It is no longer a requirement that a system calls queryChanged forever.
  • Matter.merge (an undocumented function) now only accepts two parameters.

Fixed

  • replaceSystem now correctly works when other systems reference a system being reloaded in their after table
  • If spawnAt is called with an entity ID that already exists, it now errors as expected.