<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — UnitySteer & 3D Markers]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=149&amp;type=atom" />
	<updated>2016-05-04T23:27:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=149</id>
		<entry>
			<title type="html"><![CDATA[Re: UnitySteer & 3D Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=660#p660" />
			<content type="html"><![CDATA[<p>Hello.</p><p>3D marker - it is a regular GameObject. <br />Each instance has a world position (marker3d.instance.transform.position).</p><p>You can convert coordinates into world position and vice versa:<br />OnlineMapsTileSetControl.GetCoordsByWorldPosition<br />OnlineMapsTileSetControl.GetWorldPosition</p><p>I see two solutions for your problem:<br />1. After moving the marker using UnitySteer, you update coordinates of marker.<br />2. You do not use 3d markers. You create a normal GameObjects, listening OnlineMaps.OnChangePosition and OnlineMaps.OnChangeZoom, and update position of GameObjects.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-05-04T23:27:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=660#p660</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UnitySteer & 3D Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=655#p655" />
			<content type="html"><![CDATA[<p>Here&#039;s a brief video with an introduction to UnitySteer. It&#039;s a set of scripts that will automate the pathfinding of game objects.</p><p><a href="https://www.youtube.com/watch?v=4ULDER6zJnU">https://www.youtube.com/watch?v=4ULDER6zJnU</a></p><p>Here&#039;s where the assets can be found: <a href="https://github.com/ricardojmendez/UnitySteer">https://github.com/ricardojmendez/UnitySteer</a></p><p>The problem seems to hinge around the difference between world coordinates and map coordinates. Markers with steering on them move on their own, but when I move the map or scale the map, the map moves the markers back to where they were. I need to find a way for the steering code to interact with the marker&#039;s latitude and longitude instead. This means I need to make sure the distance measuring code is also based off of that instead of world space.</p><p>If there&#039;s another pathfinding asset that&#039;s easier to use with the map assets, I&#039;d be interested to learn of it.</p><p>Let me know if I need to explain in greater detail. Thanks!</p>]]></content>
			<author>
				<name><![CDATA[Quidam]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=76</uri>
			</author>
			<updated>2016-05-04T16:19:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=655#p655</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: UnitySteer & 3D Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=646#p646" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Actually you can use any assets with 3D markers.<br />Please explain your problems in detail.<br />I&#039;ll help you solve them.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-05-01T12:41:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=646#p646</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[UnitySteer & 3D Markers]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=645#p645" />
			<content type="html"><![CDATA[<p>I want to use some sort of autonomous unit movement component with the 3D markers I&#039;m using on the tileset control, but there are problems with scaling and with lat/lng coordinates vs. world coordinates. So far I&#039;ve tried UnitySteer, but there are other solutions out there too.</p><p>Do you have any suggestions for either assets that will work with the creation of autonomous markers or for techniques to link the two most gracefully?</p>]]></content>
			<author>
				<name><![CDATA[Quidam]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=76</uri>
			</author>
			<updated>2016-04-30T20:57:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=645#p645</id>
		</entry>
</feed>
