This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Matter v0.4.0
[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 callWorld:optimizeQueries
periodically (e.g., every frame)
- If you aren't using
- If a system stops calling
queryChanged
, its internal storage will now be cleaned up. It is no longer a requirement that a system callsqueryChanged
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 theirafter
table- If
spawnAt
is called with an entity ID that already exists, it now errors as expected.