type property

BodyType type
read / write

The body type: static, kinematic, or dynamic. Note: if a dynamic body would have zero mass, the mass is set to one.

Implementation

BodyType type = BodyType.STATIC;