<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — hit on objects]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1606&amp;type=atom" />
	<updated>2020-09-17T22:07:37Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1606</id>
		<entry>
			<title type="html"><![CDATA[Re: hit on objects]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6672#p6672" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Unfortunately I didn&#039;t understand what the table is in your example.<br />Is it a HotSpot, GameObject, or just part of a texture?</p><p>If it&#039;s HotSpot, then you can handle click events to do some action (in your case, hide it).<br /><a href="https://infinity-code.com/doxygen/upano/class_infinity_code_1_1u_pano_1_1_interactive_elements_1_1_interactive_element.html#a17f565ae44ea654e0c7da31f1de5bc42">https://infinity-code.com/doxygen/upano … 1f1de5bc42</a></p><p>If it&#039;s a GameObject, then you can handle its events using a MonoBehaviour.<br /><a href="https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnMouseUpAsButton.html">https://docs.unity3d.com/ScriptReferenc … utton.html</a></p><p>If this is part of the texture, then you can check the pan and tilt of the cursor on the panorama, and if there is a table (you can check this by rectangle or polygon), then change the texture to a texture without a table.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-09-17T22:07:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6672#p6672</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[hit on objects]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6670#p6670" />
			<content type="html"><![CDATA[<p>Is possible to make an object appear or disappear on click in the same panorama? <br />Example, I want click on a table (not on a red hotspot) in the room and it disappear.&nbsp; <br />Thanks</p>]]></content>
			<author>
				<name><![CDATA[pietro3d]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1386</uri>
			</author>
			<updated>2020-09-17T12:31:39Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6670#p6670</id>
		</entry>
</feed>
