mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
Update SpineGameObject.js
This commit is contained in:
parent
9473506158
commit
1abf11e4f9
1 changed files with 4 additions and 3 deletions
|
@ -66,9 +66,10 @@ var SpineGameObjectRender = require('./SpineGameObjectRender');
|
|||
* ```
|
||||
*
|
||||
* It's possible to enable Spine Game Objects for input, but you should be aware that it will use
|
||||
* the bounds of the skeletons current pose to create the hit area from. Sometimes this is ok, but
|
||||
* often not. Make use of the `InputPlugin.enableDebug` method to view the input shape being created.
|
||||
* If it's not suitable, provide your own shape to the `setInteractive` method.
|
||||
* the bounds of the skeletons current pose to create the hit area from. Ensure that your setup
|
||||
* post in the Spine Editor does _not_ have everything turned off, or the runtimes will be unable
|
||||
* to get an accurate bounds. You can make use of the `InputPlugin.enableDebug` method to view the
|
||||
* input shape being created. If it's not suitable, provide your own shape to the `setInteractive` method.
|
||||
*
|
||||
* Due to the way Spine handles scaling, it's not recommended to enable a Spine Game Object for
|
||||
* physics directly. Instead, you should look at creating a proxy body and syncing the Spine Game
|
||||
|
|
Loading…
Reference in a new issue