<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — conversion between mesh.bounds value and height in meter]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=977</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=977&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in conversion between mesh.bounds value and height in meter.]]></description>
		<lastBuildDate>Tue, 04 Dec 2018 09:26:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: conversion between mesh.bounds value and height in meter]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4340#p4340</link>
			<description><![CDATA[<p>Hello.</p><p>Most likely you need OnlineMapsControlBase3D.GetBestElevationYScale.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsControlBase3D.html#a667ff4b8a9053e2ce964e55ed29bda9d.">http://infinity-code.com/doxygen/online … ed29bda9d.</a><br />This method gives you a factor for converting meters to Unity World Points.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 04 Dec 2018 09:26:48 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4340#p4340</guid>
		</item>
		<item>
			<title><![CDATA[conversion between mesh.bounds value and height in meter]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=4336#p4336</link>
			<description><![CDATA[<p>Hi</p><p>I&#039;m trying to find a way to convert a mesh size into meters</p><p><a href="https://gph.is/2AWBzw7">https://gph.is/2AWBzw7</a></p><p>I&#039; creating a mesh based on points that i manually select on the map. I&#039;m able to change this mesh heigh by scaling the vertex.y values.</p><p>By doing so, i&#039;m getting a value with mesh.bounds that is proportional to the mesh height.</p><p>So i&#039;m looking for a way to convert this value into meters.</p><p>That would allow me to set a specific scaleY value for my vertex according to the height i want in meters.</p><p>Are there some methods i missed in the documentation that would helped me ?</p><br /><p>Maybe i have a bad conception of how things should work but i often find myself in the need of having some function that would give me, according to the current zoom level, a ratio value between meters and units. </p><p>Like, at N zoom value, how much meters is 1 units on x,y,or z ? </p><p>I usually end up converting position to lat/long and use OnlineMapsUtils.GetCoordinateInDistance or in the opposit way OnlineMapsUtils.DistanceBetweenPoints but it won&#039;t work for an altitude difference</p>]]></description>
			<author><![CDATA[null@example.com (Thibault)]]></author>
			<pubDate>Mon, 03 Dec 2018 21:02:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=4336#p4336</guid>
		</item>
	</channel>
</rss>
