<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Tip for 3D Platform Level Editing]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=539&amp;type=atom"/>
	<updated>2013-01-12T12:32:07Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=539</id>
		<entry>
			<title type="html"><![CDATA[Tip for 3D Platform Level Editing]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=3353#p3353"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[SadWolf]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=1268</uri>
			</author>
			<updated>2013-01-12T12:32:07Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=3353#p3353</id>
		</entry>
</feed>
