// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Identify sharp turns in a planned route // Not compiled or tested in-world // Setup: Use a spare owned prim. Set POINTS with3..12 vertices. Owner touch prints sample coordinates. // Stop / restore: Remove/disable. Nothing is rezzed or moved. // Notes: Repeated points are skipped with a warning. Angles do not imply whether a physical object can traverse the turn. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Planning only. list POINTS=[<0.0,0.0,0.0>,<4.0,0.0,0.0>,<5.0,3.0,0.0>,<2.0,5.0,0.0>]; default { touch_start(integer detectedCount) { if(llDetectedKey(0)!=llGetOwner())return; integer n=llGetListLength(POINTS); if(n<3||n>12) { llOwnerSay("Use3..12 points."); return; } integer i; for(i=1;i