<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_get3DDist</id>
		<title>MIST get3DDist - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=MIST_get3DDist"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_get3DDist&amp;action=history"/>
		<updated>2026-04-24T15:34:20Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=MIST_get3DDist&amp;diff=992&amp;oldid=prev</id>
		<title>Grimes at 22:52, 13 April 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=MIST_get3DDist&amp;diff=992&amp;oldid=prev"/>
				<updated>2018-04-13T22:52:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Mission Scripting&lt;br /&gt;
&lt;br /&gt;
|fName= mist.utils.get3DDist|&lt;br /&gt;
&lt;br /&gt;
|vNum = Mist 2.0&lt;br /&gt;
&lt;br /&gt;
|desc= Returns the distance between two point1 and point2 in 3D space. |&lt;br /&gt;
&lt;br /&gt;
|rtnType= number&lt;br /&gt;
&lt;br /&gt;
|reqType1= table&lt;br /&gt;
&lt;br /&gt;
|reqName1= point1&lt;br /&gt;
&lt;br /&gt;
|reqType2= table&lt;br /&gt;
&lt;br /&gt;
|reqName2= point2&lt;br /&gt;
&lt;br /&gt;
|reqType3=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|optType1= &lt;br /&gt;
&lt;br /&gt;
|varExamples= point1 = vec2 or vec3&lt;br /&gt;
&lt;br /&gt;
point2 = vec2 or vec3&lt;br /&gt;
&lt;br /&gt;
|rtnExamples= 4000&lt;br /&gt;
&lt;br /&gt;
|example= &lt;br /&gt;
  Returns the slant range between the units &amp;quot;tank&amp;quot; and &amp;quot;myTank&amp;quot;&lt;br /&gt;
&lt;br /&gt;
  local tankPos = Unit.getByName('tank'):getPosition().p&lt;br /&gt;
  local myPos = Unit.getByName('myTank'):getPosition().p&lt;br /&gt;
  local dist = mist.utils.get3DDist(tankPos, myPos)&lt;br /&gt;
  trigger.action.outText(tostring('Slant Range to target is: ' .. dist), 30)&lt;br /&gt;
&lt;br /&gt;
|notes= &lt;br /&gt;
&lt;br /&gt;
|funcs= {{listOfMistVectors}} &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category: MIST|get3DDist]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>