terrain-integration
Installation
SKILL.md
Terrain Integration
Foundation placement, slope handling, and terrain modification for building systems.
Quick Start
import { TerrainAnalyzer } from "./scripts/terrain-analyzer.js";
import { FoundationPlacer } from "./scripts/foundation-placer.js";
// Analyze terrain at build location
const analyzer = new TerrainAnalyzer(terrainMesh);
const slopeData = analyzer.analyzeSlope(position, { radius: 4 });
// slopeData: { angle: 15, normal: Vector3, canBuild: true }