<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — UI elements not blocking markers collider hit]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=103&amp;type=atom" />
	<updated>2016-03-16T19:40:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=103</id>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=486#p486" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I think I know what the problem is.</p><p>You have a lot of planes (markers) at the same marker3D.transform.position.y (map.png).<br />In this case, triggered event of marker, which will be first in Physics.RaycastAll.</p><p>Solution:<br />Wrap the marker into a new GameObject. <br />You should have:<br />Container GameObject<br />-- Marker GameObject</p><p>Change «localPosition.y» for each marker, depending on the latitude and longitude. <br />Example attached.</p><p>This should help your problem.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-16T19:40:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=486#p486</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=479#p479" />
			<content type="html"><![CDATA[<p>Hey Alex, I&#039;m uploading some more screenshots. It might help... I&#039;m using <strong>3D markers</strong>.<br />Contents:<br />&quot;map&quot; - the map visualization. The marker with the heart in it is the marker that needs to be at the top of the others markers. Sometimes (most of the times, actually) when I click on this marker, other markers&#039; events are triggered instead of this one.<br />&quot;target_marker_collider&quot; - a lateral view of the target marker and its collider.<br />&quot;markers_colliders&quot; - both the target and not-target&#039;s colliders. As you can see, the target&#039;s collider is a way bigger than the not-target&#039;s collider and should have it&#039;s event triggered before the not-target&#039;s event.<br />&quot;target_marker_inspector_0&quot; / &quot;target_marker_inspector_1&quot; - the target&#039;s marker inspector configurations.</p>]]></content>
			<author>
				<name><![CDATA[felipeberquo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=59</uri>
			</author>
			<updated>2016-03-16T17:32:50Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=479#p479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=460#p460" />
			<content type="html"><![CDATA[<p>Unfortunately, sending the whole scene would be difficult because it requires a lot of third party plugins&#039; configuration and I cannot send you the whole project...<br />Let me show to you some new screenshots I took now and see if they help you to solve my problem. I guess they might help you to figure out how the scene is working. Please take a look at the attachment file.<br />The strange behaviour for me it&#039;s that the map (and its markers) are in the &quot;world&quot; layer, they are not even under a Canvas object or something like that, and they are acting like they were upon my UI elements (the raycast hits them even if some UI element of my canvas is in front of it).</p>]]></content>
			<author>
				<name><![CDATA[felipeberquo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=59</uri>
			</author>
			<updated>2016-03-15T16:40:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=460#p460</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=457#p457" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I just checked it again. Everything works well, events is not invoked.<br />Please send some scene so that we can see the problem.<br />Perhaps you have any additional information that will help us reproduce the problem.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-15T16:18:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=457#p457</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=456#p456" />
			<content type="html"><![CDATA[<p>One more..</p>]]></content>
			<author>
				<name><![CDATA[felipeberquo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=59</uri>
			</author>
			<updated>2016-03-15T16:10:33Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=456#p456</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=455#p455" />
			<content type="html"><![CDATA[<p>Hi Alex, it&#039;s me again. I have updated (now) Online Maps to the latest package using the beta channel but I&#039;m still having the same issue. I took some screenshots to show to you (attachments)</p>]]></content>
			<author>
				<name><![CDATA[felipeberquo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=59</uri>
			</author>
			<updated>2016-03-15T16:03:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=455#p455</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=440#p440" />
			<content type="html"><![CDATA[<p>Ok, thank you guys!</p>]]></content>
			<author>
				<name><![CDATA[felipeberquo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=59</uri>
			</author>
			<updated>2016-03-09T17:54:32Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=440#p440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=438#p438" />
			<content type="html"><![CDATA[<p>Hello.</p><p>We found and fixed the problem.<br />We want to finish another important feature, so the new version will be available within 1-2 days.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-09T17:37:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=438#p438</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[UI elements not blocking markers collider hit]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=434#p434" />
			<content type="html"><![CDATA[<p>Hi.</p><p>I&#039;m not sure if it&#039;s a bug or it&#039;s me that is doing something wrong here:<br />I have a search bar on the top of my app screen. If some marker is instantiated and the map is positioned in such way that the search bar (input field) is upon the marker, the maker&#039;s event is triggered. The search bar is inside a canvas.</p><p>How can I block the raycasts to hit the markers? I don&#039;t want them to pass through the UI elements if I mark this elements as &quot;Raycast Target&quot;.<br />Also, I&#039;ve checked the &quot;Not interact under GUI&quot; option.</p><p>I&#039;m using Unity 5.3.3 and Online Maps 2.4.0.24.</p>]]></content>
			<author>
				<name><![CDATA[felipeberquo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=59</uri>
			</author>
			<updated>2016-03-08T18:45:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=434#p434</id>
		</entry>
</feed>
