Physics.P2.BodyDebug#pendingDestroy

pendingDestroy : boolean

A Group is that has pendingDestroy set to true is flagged to have its destroy method
called on the next logic update.
You can set it directly to flag the Group to be destroyed on its next update.

This is extremely useful if you wish to destroy a Group from within one of its own callbacks
or a callback of one of its children.

Inherited From
Source code: core/Group.js (Line 119)
doc_phaser
2017-02-14 11:03:54
Comments
Leave a Comment

Please login to continue.