Class: dspacequad

The quadtree is suited for collision that is mostly planar. However the use of this class is not recommend.

Hierarchy

o-+ ode
  o-+ dgeom
    o-+ dspace
      o-+ dspacequad

Methods:

new ([dspace space],[float cx,cy,cz, float w,h,d, int depth])
returns: (dspacequad)
Creates a quadtree space. center and extents define the size of the root block. depth sets the depth of the tree - the number of blocks that are created is 4^depth

Inherited Methods:

From dspace

add, collidetest, delete, geomcount, get, query, remove

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