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 or 2. use dGeomSetPosition and dGeomSetRotation 1. and 2. make the same effect. chris