Physics2DServerSingleton.areaAddShape

Adds a shape to the area, 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
areaAddShape
(
in RID area
,
in RID shape
,
in Transform2D transform = Transform2D.init
)

Meta