Table of Contents

Method b3Body_SetLinearDamping

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

b3Body_SetLinearDamping(b3BodyId, float)

Adjust the linear damping. Normally this is set in b3BodyDef before creation.

public static extern void b3Body_SetLinearDamping(b3BodyId bodyId, float linearDamping)

Parameters

bodyId b3BodyId

See the Box3D documentation.

linearDamping float

See the Box3D documentation.