Field frictionCallback
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
frictionCallback
An optional callback mixing the friction of two surfaces. The default is
sqrt(frictionA * frictionB).
public delegate* unmanaged[Cdecl]<float, ulong, float, ulong, float> frictionCallbackField Value
Remarks
Signature: float (float frictionA, ulong userMaterialIdA, float frictionB, ulong userMaterialIdB).
Called from worker threads; it must be thread-safe and must not touch world state.