Container physics

I was learning how to use containers and found an example:
http://labs.phaser.io/edit.html?src=src\game%20objects\container\matter%20physics%20sprite%20test.js

This is a BUG?

1 Like

Containers can be given a physics body for either Arcade Physics, Impact Physics or Matter Physics. However,
if Container children are enabled for physics you may get unexpected results, such as offset bodies,
if the Container itself, or any of its ancestors, is positioned anywhere other than at 0 x 0. Container children
with physics do not factor in the Container due to the excessive extra calculations needed. Please structure
your game to work around this.

2 Likes