<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Assistance with Script for Line Drawing Along Marker Path]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2329&amp;type=atom" />
	<updated>2024-12-12T14:00:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2329</id>
		<entry>
			<title type="html"><![CDATA[Re: Assistance with Script for Line Drawing Along Marker Path]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9739#p9739" />
			<content type="html"><![CDATA[<p>Hi.</p><p>I think in this case the Line Renderer way is wrong, because to follow the terrain you will need to constantly adjust the number of points based on the distance between markers to make it look more or less ok.</p><p>The best way here is to draw a line on the side of the shader.<br />This way the line will follow the terrain perfectly, look good, and work much faster than LineRenderer way.</p><p>The script and shader are attached.<br />Add the script to the map and specify the shader in Tileset / Materials &amp; Shaders / Tileset Shader.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2024-12-12T14:00:42Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9739#p9739</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Assistance with Script for Line Drawing Along Marker Path]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9735#p9735" />
			<content type="html"><![CDATA[<p>Hi Alex,</p><p>I hope everything is going well. I need some help to complete the attached script. Basically, I would like the line drawing to follow the map’s profile (with elevation) for each Marker I place during runtime along a path with multiple Markers.</p><p>Thank you so much!</p>]]></content>
			<author>
				<name><![CDATA[LazzLab]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=669</uri>
			</author>
			<updated>2024-12-11T15:14:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9735#p9735</id>
		</entry>
</feed>
