Table of Contents

Method b3World_SetContactTuning

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

b3World_SetContactTuning(b3WorldId, float, float, float)

Adjust contact tuning parameters

public static extern void b3World_SetContactTuning(b3WorldId worldId, float hertz, float dampingRatio, float contactSpeed)

Parameters

worldId b3WorldId

The world id

hertz float

The contact stiffness (cycles per second)

dampingRatio float

The contact bounciness with 1 being critical damping (non-dimensional)

contactSpeed float

The maximum contact constraint push out speed (meters per second)

Remarks

Note: Advanced feature @note Advanced feature