Function PhysicsServerSingleton.bodyCreate

Creates a physics body. The first parameter can be any value from bodymode constants, for the type of body created. Additionally, the body can be created in sleeping state to save processing time.

RID bodyCreate (
  const(long) mode = 2L,
  const(bool) init_sleeping = false
) nothrow @nogc;