<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Rotating 3d marker arounf vertical axis]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1991&amp;type=atom" />
	<updated>2022-07-15T11:57:11Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1991</id>
		<entry>
			<title type="html"><![CDATA[Re: Rotating 3d marker arounf vertical axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8441#p8441" />
			<content type="html"><![CDATA[<p>Works like a charm!</p><p>I had to add another child game object and make the prefab a child of this one. Then I had to rotate the child game object, instead of the marker itself to have it rotate around its own axis, otherwise it rotates around the axis of the marker.</p><p>Many thanks for your help!</p>]]></content>
			<author>
				<name><![CDATA[info@microteq.ch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2079</uri>
			</author>
			<updated>2022-07-15T11:57:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8441#p8441</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotating 3d marker arounf vertical axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8440#p8440" />
			<content type="html"><![CDATA[<p>Here&#039;s a video. I hope this helps you understand what you need to do.<br /><a href="https://www.dropbox.com/s/h6cakff3dqv5wb8/How%20to%20set%20pivot%20for%203D%20marker.mp4?dl=0">https://www.dropbox.com/s/h6cakff3dqv5w … r.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>2022-07-15T09:16:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8440#p8440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotating 3d marker arounf vertical axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8439#p8439" />
			<content type="html"><![CDATA[<p>Many thanks for your answer.</p><p>I tried that, but it&#039;s still the same. Half of the marker hides behind the map and changing the position property of the transform component of the gameObject does not change its position in the game.</p><p>I did not set the pivot, because I did&#039;t know how to do it, maybe this is the reason, why the problem still persists?</p><p>Many thanks.</p>]]></content>
			<author>
				<name><![CDATA[info@microteq.ch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2079</uri>
			</author>
			<updated>2022-07-15T08:00:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8439#p8439</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Rotating 3d marker arounf vertical axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8416#p8416" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You need to wrap your marker in a new empty GameObject, set the pivot at the bottom of the marker, create a new prefab from the outer GameObject, and use that for the marker.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-06-26T07:58:57Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8416#p8416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Rotating 3d marker arounf vertical axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8415#p8415" />
			<content type="html"><![CDATA[<p>Hi</p><p>I would like to rotate a 3d marker around its vertical axis, as soon as a player moves into a certain range of the marker.</p><p>I managed to rotate it using the rotation proprty of the instance of the marker, but half of the marker hides behind the map when rotating. So I tried to move the marker to the front by changing the position property of its instance, but this does not change anything.</p><p>Does anyone have an idea how to solve this?</p><p>Many thanks.</p>]]></content>
			<author>
				<name><![CDATA[info@microteq.ch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2079</uri>
			</author>
			<updated>2022-06-26T05:42:20Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8415#p8415</id>
		</entry>
</feed>
