Tao.Ode SDK Documentation

Ode.dWorldSetContactSurfaceLayer Method 

Set the depth of the surface layer around all geometry objects. Contacts are allowed to sink into the surface layer up to the given depth before coming to rest. The default value is zero. Increasing this to some small value (e.g. 0.001) can help prevent jittering problems due to contacts being repeatedly made and broken.

[Visual Basic]
Public Shared Sub dWorldSetContactSurfaceLayer( _
   ByVal world As IntPtr, _
   ByVal depth As Single _
)
[C#]
public static void dWorldSetContactSurfaceLayer(
   IntPtr world,
   float depth
);

Parameters

world
the world to set
depth
the contact surface layer depth (default 0)

See Also

Ode Class | Tao.Ode Namespace