Physics.P2.BodyDebug#enableBody

enableBody : boolean

If true all Sprites created by, or added to this group, will have a physics body enabled on them.

If there are children already in the Group at the time you set this property, they are not changed.

The default body type is controlled with physicsBodyType.

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

Please login to continue.