simple c_trace question

Posted By: onslaught147

simple c_trace question - 08/22/08 08:43

how do i make a c_trace line go to a point in front of my main character. and this point rotates with the character and rises and falls with the movement of the camera so it always stays where the camera is facing it. any ideas??
Posted By: flits

Re: simple c_trace question - 08/22/08 10:58

Code:
	vec_set(temp,vector(0,0,10000))//10000 is the distance to trace
	vec_for_screen(temp,camera);
	c_trace(camera.x,temp,NULL);

© 2024 lite-C Forums