Physics2DServerSingleton.bodySetState

Sets a body state using one of the bodystate constants. Note that the method doesn't take effect immediately. The state will change on the next physics frame.

struct Physics2DServerSingleton
@nogc nothrow
void
bodySetState
(
VariantArg2
)
(
in RID _body
,
in long state
,
in VariantArg2 value
)

Meta