Tao.Ode SDK Documentation

Ode.dCreatePlane Method 

Create a plane geom of the given parameters, and return its ID. If space is nonzero, 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), and it must have length 1. Planes are 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 global coordinates. In other words it is assumed that the plane is always part of the static environment and not tied to any movable object.

[Visual Basic]
Public Shared Function dCreatePlane( _
   ByVal space As IntPtr, _
   ByVal a As Single, _
   ByVal b As Single, _
   ByVal c As Single, _
   ByVal d As Single _
) As IntPtr
[C#]
public static IntPtr dCreatePlane(
   IntPtr space,
   float a,
   float b,
   float c,
   float d
);

Parameters

space
the space to insert the plane into
a
the a parameter of the plane
b
the b parameter of the plane
c
the c parameter of the plane
d
the d parameter of the plane

Return Value

the plane

See Also

Ode Class | Tao.Ode Namespace