<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Map dragging problem]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1450&amp;type=atom" />
	<updated>2020-02-29T15:59:19Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1450</id>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6037#p6037" />
			<content type="html"><![CDATA[<p>Thanks a lot, I&#039;ll try!</p>]]></content>
			<author>
				<name><![CDATA[kononchuk_m]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1221</uri>
			</author>
			<updated>2020-02-29T15:59:19Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6037#p6037</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6004#p6004" />
			<content type="html"><![CDATA[<p>It was difficult, but I found the problem - this is a bug in Unity UI.</p><p>This is a bit hard to explain, but I will try:<br />When you rotate Image along the X axis, all points on the Y axis have different distances from the camera.<br />When the distance to the camera is greater than the distance to Canvas + some value, some Unity APIs (for example, RectTransformUtility.ScreenPointToLocalPointInRectangle) stop working correctly.<br />Most likely this method makes raycast with a distance limit that is less than the bottom of the map.</p><p>I fixed the jumps when entering this area.<br />Updated script attached.</p><p>But there is another problem:<br />This area will ignore any interaction due to the bug above.<br />To work around this, increase the Z position for Image GameObject.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-02-19T19:10:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6004#p6004</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5998#p5998" />
			<content type="html"><![CDATA[<p>Thank you for the video.<br />I was able to reproduce this bug.<br />I don’t know what is the point of rotating UI element along X axis, but this is definitely a bug, and we will fix it.<br />I think the fix will take 1-3 days.</p><p>P.S. I removed the link to your video, because it contains your invoice number.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-02-18T16:29:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5998#p5998</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5994#p5994" />
			<content type="html"><![CDATA[<p>Sorry, maybe I didn&#039;t make it clear, now I attached video for you<br />For my implementation, I needed my UI to be tilted 30 degrees. And than I noticed that the map got stuck when dragging it. I don&#039;t now if it&#039;s some bug or it&#039;s normal state of working with UI components in Unity, but I glad that now it working. Thank you for help!<br /><span style="color: #FF0000">Link removed</span></p>]]></content>
			<author>
				<name><![CDATA[kononchuk_m]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1221</uri>
			</author>
			<updated>2020-02-17T21:01:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5994#p5994</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5986#p5986" />
			<content type="html"><![CDATA[<p>Honestly, I do not know how to comment on this.<br />I tested more, and did not see this problem at all in the latest version of the asset.<br />If you have ideas on how to reproduce the problem, I will try to do it.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-02-17T11:24:05Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5986#p5986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5985#p5985" />
			<content type="html"><![CDATA[<p>Thanks, now it working better.<br />But I still have one problem with map stucking while drag. Sometimes when you drag map it got stucking for no reason</p>]]></content>
			<author>
				<name><![CDATA[kononchuk_m]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1221</uri>
			</author>
			<updated>2020-02-17T10:53:58Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5985#p5985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5984#p5984" />
			<content type="html"><![CDATA[<p>No, it does not require any special configuration.<br />Here is a video about creating a UI Image map in an empty scene:<br /><a href="https://www.dropbox.com/s/u1589jfzge614p7/ScreenRecorderProject62.mp4?dl=0">https://www.dropbox.com/s/u1589jfzge614 … 2.mp4?dl=0</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-02-17T09:50:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5984#p5984</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5982#p5982" />
			<content type="html"><![CDATA[<p>I update version to v3.6.4.1 and nothing change. Maybe exist some&nbsp; special way to setup UI controler?</p>]]></content>
			<author>
				<name><![CDATA[kononchuk_m]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1221</uri>
			</author>
			<updated>2020-02-17T09:45:05Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5982#p5982</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5981#p5981" />
			<content type="html"><![CDATA[<p>Hello.</p><p>What version of Online Maps are you using?<br />This bug has been fixed in Online Maps v3.6.3 (available through the built-in update system).<br />I checked on the latest version of the asset, and this bug does not occur.<br />So just update Online Maps through the built-in update system.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-02-17T09:03:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5981#p5981</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Map dragging problem]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5980#p5980" />
			<content type="html"><![CDATA[<p>I have problem with dragging online map while using UI components for displaying map (video attached)<br />I tried to display map as Raw Image and Image components but none of them worked correctly. (in each case I use proper control component)<br />I tried to off &quot;Render in thread&quot; and set size of UI elements to N * 256, that didn`t help me. Maybe you can help and explain correct settings for rendering map on UI elements?<br />Also I tried display it with sprite renderer and in this case it works fine<br /><a href="https://drive.google.com/open?id=1nK7fkKZUt1oUMLO11K6ioxE0Xs9h0lmN">https://drive.google.com/open?id=1nK7fk … E0Xs9h0lmN</a></p>]]></content>
			<author>
				<name><![CDATA[kononchuk_m]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1221</uri>
			</author>
			<updated>2020-02-16T22:58:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5980#p5980</id>
		</entry>
</feed>
