High-performance procedural tunnel generator for infinite runners. Create seamless, optimized 3D paths with multiple trajectories and automated object pooling in seconds.Infinite Tunnel Generator is a versatile and lightweight procedural tool designed for developers of infinite runners, space shooters, and racing games. It allows you to generate endless, seamless 3D tunnels with zero memory spikes thanks to an intelligent Chunk-Based Pooling System.The package is highly customizable to fit your project’s aesthetic. Whether you are building a futuristic neon-lit tube, a natural cave, or a space asteroid belt, the procedural mesh generation adapts to your materials and textures.The included Custom Inspector provides a clean workflow, showing only the parameters relevant to your chosen trajectory. With built-in support for layered obstacle spawning and automatic render order management, this asset provides a robust foundation for any high-speed gameplay experience.Procedural Trajectories: Includes 3 stable generation modes—Straight, Sine Wave, and Spiral—plus an Experimental Bezier mode for procedural curves.Optimized Performance: Uses a robust pooling system to recycle meshes and objects, ensuring smooth performance even on mobile devices.Layered Spawning System: Create multiple layers of obstacles (asteroids, tech parts, etc.) with customizable density, random scaling, and radial constraints.Custom Mesh Logic: Adjustable radius, segment count, and waypoints per chunk to balance visual smoothness and triangle count.Smart Rendering: Automatically updates renderQueue to prevent transparency flickering and Z-buffer issues in deep tunnels.Conditional Colliders: Toggle mesh colliders on/off globally to optimize performance for purely visual tunnels.Developer Friendly: Includes a professional Custom Inspector with tooltips and conditional visibility for a streamlined setup.Dependencies: Fully self-contained with no external requirements; includes Assembly Definitions (asmdef) for fast compilation times.Review and code optimisation.




