PhysicsServerSingleton.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 PhysicsServerSingleton
@nogc nothrow
void
bodyAddShape
(
in RID _body
,
in RID shape
,
in Transform transform = Transform.init
)

Meta