<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - How to get the position of a clone?]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=1075</link>
		<description><![CDATA[The most recent posts in How to get the position of a clone?.]]></description>
		<lastBuildDate>Thu, 02 Oct 2014 04:40:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to get the position of a clone?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7331#p7331</link>
			<description><![CDATA[<p>Oh I see... So I can&#039;t get the position of the object if I clone it during runtime.<br />That&#039;s interesting. Okay, lesson learned! Thanks alot Ant0n! That really helps <img src="http://forum.maratis3d.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" />! Thank you!</p>]]></description>
			<author><![CDATA[dummy@example.com (Xone)]]></author>
			<pubDate>Thu, 02 Oct 2014 04:40:31 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7331#p7331</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get the position of a clone?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7330#p7330</link>
			<description><![CDATA[<div class="codebox"><pre><code>Sphere = getObject(&quot;Sphere&quot;)
bullet = getClone(Sphere)

function onSceneUpdate()

    pos = getPosition(bullet)
    print(&quot;x=&quot;..pos[1]..&quot; y=&quot;..pos[2]..&quot; z=&quot;..pos[3]) --checking.
    translate(bullet, {0, 1, 0}, &quot;local&quot;)

end</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ant0n)]]></author>
			<pubDate>Thu, 02 Oct 2014 02:42:23 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7330#p7330</guid>
		</item>
		<item>
			<title><![CDATA[How to get the position of a clone?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=7329#p7329</link>
			<description><![CDATA[<p>Hi, everyone!<br />I have a question. Is it possible to get the position of a clone object?<br />Let&#039;s say I have simple script like this:</p><div class="codebox"><pre><code>Sphere = getObject(&quot;Sphere&quot;)

function onSceneUpdate()

    bullet = getClone(Sphere)
    translate(bullet, {0, 1, 0}, &quot;local&quot;)

end</code></pre></div><p>Now, I can get the position of the Sphere using <strong>getPosition(Sphere)</strong>. But how can I get the position of the bullet? I tried using the same getPosition function, but it doesn&#039;t seem to work. Anyone can help?</p>]]></description>
			<author><![CDATA[dummy@example.com (Xone)]]></author>
			<pubDate>Wed, 01 Oct 2014 15:15:28 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=7329#p7329</guid>
		</item>
	</channel>
</rss>
