Physics2DServerSingleton.bodyCreate

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

struct Physics2DServerSingleton
@nogc nothrow
RID
bodyCreate
()

Meta