Table of Contents

Method b3Body_EnableSleep

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3Body_EnableSleep(b3BodyId, NativeBool)

Enable or disable sleeping for this body. If sleeping is disabled the body will wake.

public static extern void b3Body_EnableSleep(b3BodyId bodyId, NativeBool enableSleep)

Parameters

bodyId b3BodyId

See the Box3D documentation.

enableSleep NativeBool

See the Box3D documentation.