<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — advice on how to accomplish this]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2412&amp;type=atom" />
	<updated>2026-01-14T12:02:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2412</id>
		<entry>
			<title type="html"><![CDATA[Re: advice on how to accomplish this]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9945#p9945" />
			<content type="html"><![CDATA[<p>Hi.</p><p>“The camera will be perpendicular to the map”?<br />Most likely, you meant parallel to the map, like in an FPS game, right?</p><p>The best way is to use the User Location component, which will set the center of the map to the user&#039;s location. <br />Without creating a marker, because you simply don&#039;t need it.</p><p>Yes, real tileset size does not control the camera. <br />Camera control should be implemented by other scripts.<br />In your case, most likely, the map should not control the camera at all and should adjust to the current view.<br />Just center the map in the camera position.<br />Something like:<br /></p><div class="codebox"><pre><code>control.transform.position = target.transform.position - control.center;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2026-01-14T12:02:23Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9945#p9945</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[advice on how to accomplish this]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9944#p9944" />
			<content type="html"><![CDATA[<p>Hi Alex, I&#039;m hoping you can help explain how I would accomplish this:</p><p>I&#039;m creating an AR app on iOS that is location based, which is why I&#039;m using online maps 4. </p><p>I have a Tileset map<br />I have User Location script on the map<br />I have real tileset size example script on the map</p><p>The camera will be perpendicular to the map located in the center of the map, updated on GPS location change events<br />The map will not be visible, it&#039;s used to keep AR objects placed at geopoints, which should update as the users loc changes.</p><p>I&#039;m trying to keep this simple and leverage online maps functionality and examples.</p><p>What&#039;s the best way to keep the map updating with the users location?&nbsp; From reading examples/forum posts I&#039;m assuming that I would be creating a marker which gets updated with loc change events, and then somehow the map will follow the marker.&nbsp; Does that sound correct?&nbsp; Am I making this more complicated than necessary?</p><p>I need to see the map while this is in development, but it&#039;s super blurry/pixelated, so I&#039;m wondering if that&#039;s normal.&nbsp; (due to zoom level). current zoom is 17, but this can be changed since I&#039;m using real size example script.</p><p>I don&#039;t see the camera moving to the center once real size example runs.</p><p>Anyway, these are just some problems I&#039;m having initially; probably making things too complicated, which causes more problems.</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[digitalrock]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=308</uri>
			</author>
			<updated>2026-01-14T01:39:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9944#p9944</id>
		</entry>
</feed>
