Class: dgeomsphere

A sphere with a radius, the fastest and most simple collission solid.

Hierarchy

o-+ ode
  o-+ dcollider
    o-+ dgeom
      o-+ dgeomsphere

Methods:

new ([float r],[dspace space])
returns: (dgeomsphere sphere)
creates a new sphere with radius r. Inserts the sphere in space, if given
r (dgeomsphere sphere,[float r])
returns: ([float r])
sets/gets radius of sphere

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