My maths is not great :/, but maybe you can use TFormPoint ?
TFormPoint EntityX#(control,1), EntityY#(control,1), EntityZ#(control,1), control, camera
Text 0,20,"controlX: "+TFormedX#()
Text 0,40,"controlY: "+TFormedY#()
Text 0,60,"controlZ: "+TFormedZ#()