but nothing seems to change. On looking at the code while running, it seems that every time round the main loop, a call to _castRayAndSelectObject is called, and this clobbers my laser color with a predefined one. Is this a bug, or am I just not understanding how and when to call the function.