Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Different Ways to Find Distance

$
0
0
I've been learning Unity scripting lately, and I've been looking for ways to find the distance, and came upon two different ones.

The Unity manual/documentation (here: http://docs.unity3d.com/Manual/DirectionDistanceFromOneObjectToAnother.html) has a few different statements you can use to calculate the distance, but the "Unity Scripting API" (here: http://docs.unity3d.com/ScriptReference/Vector3.Distance.html) uses a function build into Unity (Vector3.Distance) to find...

Different Ways to Find Distance

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>