# Class: dgeomtrimesh

Triangle mesh collision.

## Hierarchy

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

## Methods:

new (dgeomtrimeshdata,[dspace space])
  returns: (dgeomtrimesh)
  creates a trimesh geom, ready for collision. ==new prevents gc of dgeomtrimeshdata
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, disabledspace, enabledspace, fdirnormal, fdirpriority, getcontactinfo, local2world, matrix, maxcontactinfo, maxcontacts, motion1, motion2, nocontactgenerator, pos, rotaxis, rotdeg, rotquat, rotrad, setcategory, surfaceid, transformer, world2local

### From dcollider

delete, test, testnear, testtriarray