Updated JSDocs to cover situation in #3858

This commit is contained in:
Richard Davey 2020-09-11 10:08:22 +01:00
parent 0a20245a77
commit 3969d6e45a

View file

@ -45,6 +45,9 @@ var Vector2 = require('../../math/Vector2');
* Containers can be enabled for input. Because they do not have a texture you need to provide a shape for them
* to use as their hit area. Container children can also be enabled for input, independent of the Container.
*
* If input enabling a _child_ you should not set both the `origin` and a **negative** scale factor on the child,
* or the input area will become misaligned.
*
* 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