createBody method

Body createBody(
  1. BodyDef def
)

Creates a new body from the given def.

Implementation

f2d.Body createBody(f2d.BodyDef def) => world.createBody(def);