does there any 3d object exist, where you can point at?
if its so, try it with this code:
Code:
action pointAtMouse()
{
	VECTOR temp;
	
	VECTOR from;
	VECTOR to;
	
	vec_set(from,vector(mouse_pos.x,mouse_pos.y,0));
	vec_set(to,vector(mouse_pos.x,mouse_pos.y,10000));
	
	vec_for_screen(from,camera);
	vec_for_screen(to,camera);
	
	if(c_trace(from,to,IGNORE_PASSENTS))
	{
		vec_set(temp,tar)
	}
	else
	{
		vec_set(temp,to);		
	}
	vec_sub(temp,my.x);
	vec_to_angle(my.pan,temp); 
}




Visit my site: www.masterq32.de