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
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
When adding an array of items to a physics group, it does not add the body object etc... but it works when only adding a single config object.
Example Test Code
https://labs.phaser.io/edit.html?src=src/physics/arcade/simple%20group.js <- This example works. If you replace the group variable with:
` var group = this.physics.add.group(
[
{
key: 'block',
frameQuantity: 1,
},
{
key: 'block',
frameQuantity: 1,
},
{
key: 'block',
frameQuantity: 1,
},
{
key: 'block',
frameQuantity: 1,
}
]
);
As you can see no body.
Additional Information
I might be doing something wrong but shouldn't a physics group always add a physics body?
The text was updated successfully, but these errors were encountered: