<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Generate POI via script]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1453&amp;type=atom" />
	<updated>2020-02-19T16:00:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1453</id>
		<entry>
			<title type="html"><![CDATA[Re: Generate POI via script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6003#p6003" />
			<content type="html"><![CDATA[<p>Yes, this is a bug in RWT.<br />Thank you for reporting this.<br />Patch for RWT v4.4.1 is attached.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-02-19T16:00:34Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6003#p6003</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Generate POI via script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6000#p6000" />
			<content type="html"><![CDATA[<p>I found that the problem was that i was generating a mesh with the pluggin, and some of the functions like GetWorldPosition or GetAltitudeByCoordinates doesnt work with meshes. For example when i try to update a poi position from editor, if im working with a mesh it doesnt change.</p>]]></content>
			<author>
				<name><![CDATA[imartinez]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1216</uri>
			</author>
			<updated>2020-02-19T07:51:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6000#p6000</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Generate POI via script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5999#p5999" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I just checked the generation of POIs with and without altitude.<br />All POIs were generated correctly.<br />When using altitude = 0, position Y is calculated based on the height of the terrain.<br />When altitude != 0, position Y = (altitude - min height) * height multiplier .<br />If you still have problems with POIs, please attach your settings (RWT / File / Export Prefs), I will check this.</p><p>How to convert coordinates to Unity World Position:<br /><a href="http://infinity-code.com/doxygen/real-world-terrain/classInfinityCode_1_1RealWorldTerrain_1_1RealWorldTerrainMonoBase.html#aa746cf7014339454879ebaf5bd3c64ac">http://infinity-code.com/doxygen/real-w … f5bd3c64ac</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-02-18T16:46:43Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5999#p5999</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Generate POI via script]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5997#p5997" />
			<content type="html"><![CDATA[<p>Im having some issues with POIs in general and i need some help...<br />First, when i put altitude value on the real world terrain window, every poi goes to the corner of the terrain, this doesnt happen when i let it to 0.<br />Also, is it possible to generate POIs using a c# script? I´ve been trying but i cant make it work.</p>]]></content>
			<author>
				<name><![CDATA[imartinez]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1216</uri>
			</author>
			<updated>2020-02-18T13:11:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5997#p5997</id>
		</entry>
</feed>
