Posted By: Omicron_NEGA
super simple question! - 02/21/09 14:56
first,hi@all
then,i want to conver sun 3Dpos(xyz)to 2Dpos(xy),
and i tried vec_to_screen(sun_pos,camera),and heres my problem:
how can i get 2Dposition's vector?
like
var scr_x;
var scr_y;
scr_x=vec_to_screen(sun_pos,camera).x //ofcourse this wont work
or somethin else?
thx !
then,i want to conver sun 3Dpos(xyz)to 2Dpos(xy),
and i tried vec_to_screen(sun_pos,camera),and heres my problem:
how can i get 2Dposition's vector?
like
var scr_x;
var scr_y;
scr_x=vec_to_screen(sun_pos,camera).x //ofcourse this wont work
or somethin else?
thx !