Tao.Ode SDK Documentation

Ode.dGeomDestroy Method 

Destroy a geom, removing it from any space it is in first. This one function destroys a geom of any type, but to create a geom you must call a creation function for that type. When a space is destroyed, if its cleanup mode is 1 (the default) then all the geoms in that space are automatically destroyed as well.

[Visual Basic]
Public Shared Sub dGeomDestroy( _
   ByVal geom As IntPtr _
)
[C#]
public static void dGeomDestroy(
   IntPtr geom
);

Parameters

geom
A dGeomID

See Also

Ode Class | Tao.Ode Namespace