Physics2DServerSingleton.bodyAddShape

Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index.

struct Physics2DServerSingleton
@nogc nothrow
void
bodyAddShape
(
in RID _body
,
in RID shape
,
in Transform2D transform = Transform2D.init
)

Meta