Tao.Ode SDK Documentation

Ode.dGeomTriMeshEnableTC Method 

Enable/disable the use of temporal coherence during tri-mesh collision checks. Temporal coherence can be enabled/disabled per tri-mesh instance/geom class pair, currently it works for spheres and boxes. The default for spheres and boxes is 'false'. The 'enable' param should be 1 for true, 0 for false. Temporal coherence is optional because allowing it can cause subtle efficiency problems in situations where a tri-mesh may collide with many different geoms during its lifespan. If you enable temporal coherence on a tri-mesh then these problems can be eased by intermittently calling dGeomTriMeshClearTCCache for it.

[Visual Basic]
Public Shared Sub dGeomTriMeshEnableTC( _
   ByVal g As IntPtr, _
   ByVal geomClass As Integer, _
   ByVal enable As Integer _
)
[C#]
public static void dGeomTriMeshEnableTC(
   IntPtr g,
   int geomClass,
   int enable
);

Parameters

g
A dGeomID
geomClass
An int
enable
An int

See Also

Ode Class | Tao.Ode Namespace