<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Player Marker - update by Location]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1927&amp;type=atom" />
	<updated>2022-03-03T10:37:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1927</id>
		<entry>
			<title type="html"><![CDATA[Re: Player Marker - update by Location]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8153#p8153" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Serialization works in such a way that it doesn&#039;t matter what value you specify in the script. Only the values you specify in the inspector matter.<br />In addition, civilian devices do not have such accuracy. The average accuracy of civilian sensors is 3-5 meters in the open sky, which can decrease dramatically if satellite visibility is limited.<br />Also, such small values are less than the precision a float can achieve, and in some cases you may end up with constant map updates.</p><p>How to smooth update GPS values:<br /><a href="https://forum.infinity-code.com/viewtopic.php?id=1640">https://forum.infinity-code.com/viewtopic.php?id=1640</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-03-03T10:37:32Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8153#p8153</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Player Marker - update by Location]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8151#p8151" />
			<content type="html"><![CDATA[<p>Hello,<br />I use the direction API to search between 2 areas In a small walking radius (usually the first input is my current location).<br />I use the Input.Compass API to rotate the icon according to my direction.</p><br /><p>My issue is with GPS location (Input.Location.lastData).<br />I have tried updating OnlineMapsLocationService.cs parameters to the following:</p><p>public float desiredAccuracy = 0.01f;<br />public float updateDistance = 0.01f;</p><p>No matter how much I change it, the icon feels like it teleports from 1 area to another instead of having a smooth walking pace.</p><p>Does anyone know a method to read the location regularly and properly update the marker accordingly to give the feel of a smooth walking pace.</p><p>thanks,<br />Appearia.</p>]]></content>
			<author>
				<name><![CDATA[Appearia]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1918</uri>
			</author>
			<updated>2022-03-03T08:10:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8151#p8151</id>
		</entry>
</feed>
