getType method

BodyType getType()

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

Implementation

BodyType getType() {
  return type;
}