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.

struct PhysicsServerSingleton
@nogc nothrow
RID
bodyCreate
(
in long mode = 2
,
in bool init_sleeping = false
)

Meta