<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Building Footprints Too Small]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=824</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=824&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Building Footprints Too Small.]]></description>
		<lastBuildDate>Mon, 05 Nov 2018 11:27:22 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Building Footprints Too Small]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4156#p4156</link>
			<description><![CDATA[<p>Thanks Alex!</p>]]></description>
			<author><![CDATA[null@example.com (rooi)]]></author>
			<pubDate>Mon, 05 Nov 2018 11:27:22 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4156#p4156</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building Footprints Too Small]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4153#p4153</link>
			<description><![CDATA[<p>Hello.</p><p>Thanks for the bug report.<br />The problem is fixed, and in the next version it will work correctly.</p><p>How can you fix it right now. OnlineMapsBuildingBase.cs (lines 199 - 200):<br /></p><div class="codebox"><pre><code>float sw = OnlineMapsUtils.tileSize * map.tilesetSize.x / map.tilesetWidth;
float sh = OnlineMapsUtils.tileSize * map.tilesetSize.y / map.tilesetHeight;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 04 Nov 2018 18:44:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4153#p4153</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building Footprints Too Small]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4151#p4151</link>
			<description><![CDATA[<p>Hi Alex,</p><p>I&#039;m noticing the same in the latest version when scaling down the map or parent gameobject. I the bug back again or am I doing something wrong?</p><p>I produced it by setting a scale other thans 1,1,1 on the map, e.g. 0.5,0.5,0.5 and press play in unity after.</p><p>In understand your suggested fix and we can implemented it, but if possible, being able to scale gameobjects would be nice. Either way, thanks again!</p>]]></description>
			<author><![CDATA[null@example.com (rooi)]]></author>
			<pubDate>Sun, 04 Nov 2018 14:55:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4151#p4151</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building Footprints Too Small]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3563#p3563</link>
			<description><![CDATA[<p>I see.<br />Just copy the values from Transform.Scale (XZ) to Size In Scene (XY), and set Transform.Scale = (1, 1, 1).</p><p>In the next version this will work correctly with the scaled GameObject.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 20 Apr 2018 10:23:14 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3563#p3563</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building Footprints Too Small]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3562#p3562</link>
			<description><![CDATA[<p>Thank you for the advice! That definitely gets me on the right track.&nbsp; Are you sure it wont work if I just set the gameobject size to 1x1?&nbsp; </p><p>If not, could you possibly help me understand how to use the script you linked?&nbsp; I assume I should just copy and paste into the map gameobject c# script -- anywhere in particular? anything I should know before trying that?&nbsp; I&#039;ve never done any scripting but I&#039;m happy to take a crack at it if you just give me a rough idea of how... </p><p>thanks again for your help! This asset rules.<br />Evan</p>]]></description>
			<author><![CDATA[null@example.com (epgra)]]></author>
			<pubDate>Fri, 20 Apr 2018 03:01:50 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3562#p3562</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building Footprints Too Small]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3557#p3557</link>
			<description><![CDATA[<p>Hello.</p><p>Yes, the problem is that the map GameObject is scaled.<br />Better use OnlineMapsTileSetControl.Resize to change the size of the map in the scene.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsTileSetControl.html#a15e4efd3378e2f9dbf5300600c27ca50">http://infinity-code.com/doxygen/online … 600c27ca50</a></p><p>In any case, the problem is fixed.<br />Thanks for the bug report.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 18 Apr 2018 20:32:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3557#p3557</guid>
		</item>
		<item>
			<title><![CDATA[Building Footprints Too Small]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3556#p3556</link>
			<description><![CDATA[<p>Hi all, </p><p>I am having an issue where all of the 3D buildings appear to have had the building footprint scale turned way down. <br /> As in, the building all have the right shape, but they are about 1/10th of the correct length and width. <br /> Heres a video i took showing the problem: <a href="https://www.youtube.com/watch?v=QxErLzMwE60">https://www.youtube.com/watch?v=QxErLzMwE60</a></p><p>I had the map gameobject scaled down in order to fit in the camera&#039;s view in an AR game, so maybe thats the issue? The scale of the map gameobject didnt affect the imagery though, so I&#039;m not sure why it would affect the buildings differently.&nbsp; Any help would be greatly appreciated!</p>]]></description>
			<author><![CDATA[null@example.com (epgra)]]></author>
			<pubDate>Wed, 18 Apr 2018 16:22:15 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3556#p3556</guid>
		</item>
	</channel>
</rss>
