Function removeBody

  • Remove a body from the world

    Parameters

    • world: World

      The world from which the body should be removed

    • body: Body

      The body to remove

    • Optional dynamics: DynamicRigidBody[]

    Returns void