I want to be able to display on screen the z translation value of a movable/physics object no matter how its moved. I understand how to display text on screen with GUItext. Making movable object is easy to. Can someone give me some suggestions on how to get the z translation info from the object and display it on screen? Can i do all this easily in javascript? I am not experience programer and new to unity3d Just looking for some ideas on how to aproach problem. I am guessing it would be to get the ztranslate info and save in variable that the guitext refers to. Is that even close? Getting the z information of an object seems the hardest part to me. thanks for any ideas.
Uh, object.transform.position.z?