bodyDef property

BodyDef? bodyDef
getter/setter pair

The default implementation of createBody will use this value to create the Body, if it is provided.

If you do not provide a BodyDef here, you must override createBody.

Implementation

BodyDef? bodyDef;