name | type | arguments | Default | description |
---|---|---|---|---|
isStatic | boolean | <optional> | true |
Whether or not the newly created body should be made static. This defaults to true since typically tiles should not be moved. |
addToWorld | boolean | <optional> | true |
Whether or not to add the newly created body (or existing body if options.body is used) to the Matter world. |