<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — 3d Marker Y rotation]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=613&amp;type=atom" />
	<updated>2017-08-01T15:35:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=613</id>
		<entry>
			<title type="html"><![CDATA[Re: 3d Marker Y rotation]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2663#p2663" />
			<content type="html"><![CDATA[<p>Now I understand you. <br />3D markers have ignored rotation Y when the scene starts.</p><p>The problem is fixed.<br />A new version will be available soon (most likely tomorrow).</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-08-01T15:35:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2663#p2663</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 3d Marker Y rotation]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2661#p2661" />
			<content type="html"><![CDATA[<p>I&#039;m setting the Y rotation in Tile Set Control in editor.</p><p>Referencing the video I posted in other thread:<br /><a href="http://bradensmith.com/vrar/hMap_TTP.mp4">http://bradensmith.com/vrar/hMap_TTP.mp4</a></p><p>there is a police car set to Y rotation 210,<br />the red person (in top/right of map) has Y rotation set to 90,<br />the blue person (in left of map) has Y rotation set to 0.</p><p>as you can see, they all point to 0 at runtime</p><p>glad it works on your machine</p>]]></content>
			<author>
				<name><![CDATA[braden]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=499</uri>
			</author>
			<updated>2017-08-01T00:46:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2661#p2661</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: 3d Marker Y rotation]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2660#p2660" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I just checked it out.<br />Rotation Y works as planned.</p><p>Test script:<br /></p><div class="codebox"><pre><code>using UnityEngine;

public class TestUpdateRotationY:MonoBehaviour
{
    public float rotationTime = 3; // sec
    private OnlineMapsMarker3D marker;

    private void Start()
    {
        marker = OnlineMapsTileSetControl.instance.AddMarker3D(OnlineMaps.instance.position, null);
        marker.scale = 50;
    }

    private void FixedUpdate()
    {
        marker.rotationY += Time.fixedDeltaTime * 360 / rotationTime;
    }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-07-31T18:50:45Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2660#p2660</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[3d Marker Y rotation]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2656#p2656" />
			<content type="html"><![CDATA[<p>Online Maps 2.5.12.1<br />I have set different values for Y rotation on my 3d Markers, but the markers all face 0 at runtime (in editor and UWA/HoloLens)</p>]]></content>
			<author>
				<name><![CDATA[braden]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=499</uri>
			</author>
			<updated>2017-07-31T02:09:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2656#p2656</id>
		</entry>
</feed>
