<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=RelativePosition</id>
	<title>RelativePosition - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=RelativePosition"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=RelativePosition&amp;action=history"/>
	<updated>2026-06-04T14:15:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=RelativePosition&amp;diff=5971&amp;oldid=prev</id>
		<title>Ozdeadmeat: RelativePosition – created via PowerShell script (2025-11-11T21:12:35Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=RelativePosition&amp;diff=5971&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:36Z</updated>

		<summary type="html">&lt;p&gt;RelativePosition – created via PowerShell script (2025-11-11T21:12:35Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          RelativePosition|fDescription=   Computes a new position relative to a given vector, offset by a specified bearing and distance in meters, adjusting the y-coordinate using terrain height at the calculated x-z point.|parentFile=     cmm.positionFunctions.lua|syntax=         CMM.RelativePosition(vec3 &amp;lt;TBL&amp;gt;, bearing &amp;lt;number&amp;gt;, distance &amp;lt;number&amp;gt;)|return=         any|returnDesc=     Typically a vec3 table containing the new x, y, and z coordinates; returns nil if input vec3 is invalid.|example=        CMM.RelativePosition({x=100, y=50, z=10}, 45, 50)|exampleDesc=    Returns a new position 50 meters at a 45-degree bearing from the original point, with y adjusted to match terrain height at that location.|related=        |note=           |envType= CMM|par1=         table vec3|reqType1=     table|reqName1=     vec3|desc1=       Input vector with x, y, and z components representing a position in world space.|par2=         number bearing|reqType2=     number|reqName2=     bearing|desc2=       Bearing in degrees from north, used to determine the direction of the offset.|par3=         number distance|reqType3=     number|reqName3=     distance|desc3=       Distance in meters to offset from the original position along the bearing direction.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>