Tao.Ode SDK Documentation |
|
Ode.dGeomRaySet Method
Set the starting position (px,py,pz) and direction (dx,dy,dz) of the given ray. The ray's rotation matrix will be adjusted so that the local Z-axis is aligned with the direction. Note that this does not adjust the ray's length.
Parameters
-
ray
- the ray to set
-
px
- x-coordinate of the starting position
-
py
- y-coordinate of the starting position
-
pz
- z-coordinate of the starting position
-
dx
- x-coordinate of the direction
-
dy
- y-coordinate of the direction
-
dz
- z-coordinate of the direction
See Also
Ode Class | Tao.Ode Namespace