mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Updated JSDocs to cover situation in #3858
This commit is contained in:
parent
0a20245a77
commit
3969d6e45a
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,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,
|
||||
|
|
Loading…
Reference in a new issue