This question already has an answer here:

I need to precisely visualize one object's distance in order to properly tune 3D sound properties. How can I measure the distance between me (the camera) and said object?


marked as duplicate by X-27, VRM, David, gandalf3, Leon Cheung Mar 3 '15 at 7:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


To get the distance between two objects in the scene :

  • setup a driver with the following settings
    • type : Scripted Expression
    • expr : var
  • add new variable 'var' of type Distance

  • set the targets to the objects of interest

  • Now the driver value is the distance between these two object

enter image description here

  • $\begingroup$ This was flagged as low quality, can you add more to it. As it is your answer would be useless without the image. $\endgroup$ – David Mar 3 '15 at 0:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.