Hi there,
Im making a cam script, and so far eveything alright part from I want to find out the distance from the camera to my entity and if the cameras too far away move it closer.
If i wanted to set a variable to this distance,
eg.
VAR cam_distance;//this value should be set to the value between the camera and MY entity.
How would I do this?
Should I use trace() and how?
Thanks alot.
Luke