use ray for mouse joint positioning