Tao.Ode SDK Documentation

Ode.dGeomRayGet Method 

Get the starting position (start) and direction (dir) of the ray. The returned direction will be a unit length vector.

[Visual Basic]
Public Shared Sub dGeomRayGet( _
   ByVal ray As IntPtr, _
   ByRef start As dVector3, _
   ByRef dir As dVector3 _
)
[C#]
public static void dGeomRayGet(
   IntPtr ray,
   ref dVector3 start,
   ref dVector3 dir
);

Parameters

ray
the ray to query
start
dVector3 containing the returned start position
dir
dVector3 containing the returned direction

See Also

Ode Class | Tao.Ode Namespace