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
worldIdb3WorldId-
The world id
hertzfloat-
The contact stiffness (cycles per second)
dampingRatiofloat-
The contact bounciness with 1 being critical damping (non-dimensional)
contactSpeedfloat-
The maximum contact constraint push out speed (meters per second)
Remarks
Note: Advanced feature @note Advanced feature