Class: dgeomplane

Planes are infinite and so non-placeable geoms. This means that, unlike placeable geoms, planes do not have an assigned position and rotation. This means that the parameters (a,b,c,d) are always in world coordinates. In other words it is assumed that the plane is always part of the static environment and not tied to any movable object.

Hierarchy

o-+ ode
  o-+ dcollider
    o-+ dgeom
      o-+ dgeomplane

Methods:

new ([float a,b,c,d],[dspace])
returns: (dgeomplane)
Create a plane geom of the given parameters, and return its ID. If space is given, insert it into that space. The plane equation is a*x+b*y+c*z = d The plane's normal vector is (a,b,c), is normalized automaticly.
distance (dgeomplane,[float d])
returns: ([float d])
sets the distance of the plane to the origin (0,0,0)
normal (dgeomplane,[float x,y,z])
returns: ([float x,y,z])
sets the normal vector of the plane. Luxinia normalizes this vector automaticly for you.

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