Table of Contents

Method b3World_SetRestitutionThreshold

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

b3World_SetRestitutionThreshold(b3WorldId, float)

Adjust the restitution threshold. It is recommended not to make this value very small because it will prevent bodies from sleeping. Usually in meters per second.

public static extern void b3World_SetRestitutionThreshold(b3WorldId worldId, float value)

Parameters

worldId b3WorldId

See the Box3D documentation.

value float

See the Box3D documentation.

Remarks

See b3WorldDef @see b3WorldDef