[ODE] Rotating dRayClass?

Christoph Beyer boernerb at web.de
Sat Sep 16 12:31:20 MST 2006

dGeomRaySet calculates from the give direction the rotation-matrix of the ray, so dGeomSetRotation is not necessary
no rotation is the (0, 0, 1)-Direction (Z-axis).

1. use dGeomRaySet to set position and rotation


2. use dGeomSetPosition and dGeomSetRotation

1. and 2. make the same effect.


More information about the ODE mailing list