<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Transform position is different]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2339&amp;type=atom" />
	<updated>2025-02-12T13:21:11Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2339</id>
		<entry>
			<title type="html"><![CDATA[Re: Transform position is different]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9765#p9765" />
			<content type="html"><![CDATA[<p>Unfortunately, I can&#039;t tell from your description and screenshot what&#039;s wrong.<br />If you want you can send me your project by email or via DM in discord and I will check it. Links in the asset description.<br />Other than that, unfortunately, I don&#039;t know how to help you.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-02-12T13:21:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9765#p9765</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transform position is different]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9764#p9764" />
			<content type="html"><![CDATA[<p>Hi Sir,</p><p>I have checked the prefab multiple times, the child objects are all placed at zero and actually its the other way round.<br />where we click on the map the cube is getting added over there, and the transform is shown in other place.<br />But when we zoom in/out map, or move the point the transform get corrected to the original position where the cube is.</p><p>I have a scenario, where I have to add a plus image on the midpoint between two points, as the transform is off the calculations for midpoint are not calculated correctly.</p>]]></content>
			<author>
				<name><![CDATA[ag82lus]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2830</uri>
			</author>
			<updated>2025-02-12T11:31:05Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9764#p9764</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transform position is different]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9763#p9763" />
			<content type="html"><![CDATA[<p>In your screenshot I see that the Transform Handle is in the sea (most likely it&#039;s the click location), and the cube highlighted in blue is behind the map.<br />This means that your cube has a non-zero position inside the prefab, and this is the reason why it is in the wrong place.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-02-11T19:04:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9763#p9763</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transform position is different]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9762#p9762" />
			<content type="html"><![CDATA[<p>private void OnMapClick()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; control.GetCoords(out targetLng, out targetLat);<br />&nbsp; &nbsp; &nbsp; &nbsp; GeoCoordinates coordinates = new GeoCoordinates(targetLat, targetLng);<br />&nbsp; &nbsp; &nbsp; &nbsp; OnlineMapsMarker3D item = OnlineMapsMarker3DManager.CreateItem(coordinates.lon, coordinates.lat, obj);<br />&nbsp; &nbsp; &nbsp; &nbsp; item.transform.localRotation = Quaternion.Euler(90, 0, 180);<br />&nbsp; &nbsp; &nbsp; &nbsp; item.scale = 50;<br />&nbsp; &nbsp; }</p>]]></content>
			<author>
				<name><![CDATA[ag82lus]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2830</uri>
			</author>
			<updated>2025-02-11T12:28:07Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9762#p9762</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Transform position is different]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9760#p9760" />
			<content type="html"><![CDATA[<p>Hi.</p><p>Please show your code.<br />I will check it.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-02-11T09:23:16Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9760#p9760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Transform position is different]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9758#p9758" />
			<content type="html"><![CDATA[<p>Hi,</p><p>we have added Online maps in our project which is 3D tileset and we are adding waypoints as 3D Markers on the map.<br />But we are facing one peculiar issue.</p><p>the latest new waypoint added on the map shows the transform on other location rather than where the waypoint is added.<br />and then after we add the second waypoint or move the point, the transform of the previous waypoint get automatically corrected to the original position where the marker is.</p><p>I have attached a screenshot showing where the marker was created and where the transform is being shown on the screen.</p><p>Any feedback or suggestions would be of great help.</p><p>Thank you.</p>]]></content>
			<author>
				<name><![CDATA[ag82lus]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2830</uri>
			</author>
			<updated>2025-02-11T07:13:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9758#p9758</id>
		</entry>
</feed>
