# Class: dgeomtrimesh

Triangle mesh collision.

## Hierarchy

    o-+ ode
      o-+ dgeom
        o-+ dgeomtrimesh

## Methods:

new (dgeomtrimeshdata,[dspace space])
  returns: (dgeomtrimesh)
  creates a trimesh geom, ready for collision.
raytrisresult (dgeomtrimesh,[boolean])
  returns: ([boolean])
  You can get precise ray test results, such as index of which triangle was hit and which barycentric coordinates the hitpoint had.
triarrayresult (dgeomtrimesh,[boolean])
  returns: ([boolean])
  You can get all intersecting triangles with the geoms when using triarraycollide command. Outside of calling that function you should disable manually, else there will be a slight slowdown.

## Inherited Methods:

### From dgeom

body, category, delete, disabledspace, enabledspace, fdirnormal, fdirpriority, getcontactinfo, local2world, matrix, maxcontactinfo, maxcontacts, motion1, motion2, nocontactgenerator, pos, rotaxis, rotdeg, rotquat, rotrad, setcategory, surfaceid, test, testnear, testtriarray, transformer, world2local