<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Tip for 3D Platform Level Editing]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=539</link>
		<description><![CDATA[The most recent posts in Tip for 3D Platform Level Editing.]]></description>
		<lastBuildDate>Sat, 12 Jan 2013 12:32:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Tip for 3D Platform Level Editing]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3353#p3353</link>
			<description><![CDATA[<p>I have created a set of objects to display around the level,</p><p>but what if I have a object made of five entities or more for logic,graphics,physics,ecc ecc?</p><p>I have to duplicate them around the world and if change something I have to make the change to everything</p><p>So what I&#039;ve done...</p><p>In example let&#039;s say that I created a special ladder that needs 4 entities</p><p>I create one special ladder as template then I put a invisibile box with name SpecialLadderPointer1 in every place where I want a special ladder</p><p>So every change that I made to the template model will be apply to the pointers <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="codebox"><pre><code>1. SpecialLadderTemplate = { list of objects of the template objects}
2. SpecialLadderPointers = { list of pointers objects}
3. for loop where I deactivate the template
4. define a function getSpecialLadderCloneAt( pointerObject ) which get a pointer position and clone a template at that position
5. for loop where for each pointer I call getSpecialLadderCloneAt( pointer )</code></pre></div><p>I&#039;ll create a lua class for this method asap <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (SadWolf)]]></author>
			<pubDate>Sat, 12 Jan 2013 12:32:07 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3353#p3353</guid>
		</item>
	</channel>
</rss>
