Simple, fully self-contained script for generating a wall between two points in Godot. Has static constructors, so it can be placed by hand or easily generated by calling WallGen.construct() from code. Works In-Editor or during Run-time.
![image](https://private-user-images.githubusercontent.com/13814170/382588974-f45c0b4a-482d-457f-aaed-13438d93e6ae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NzM3MDQsIm5iZiI6MTczOTU3MzQwNCwicGF0aCI6Ii8xMzgxNDE3MC8zODI1ODg5NzQtZjQ1YzBiNGEtNDgyZC00NTdmLWFhZWQtMTM0MzhkOTNlNmFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDIyNTAwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE3NjFhYTY4ZWM5NDNiZTIwZjc3Zjc4M2JhZmEwYjg1YzNiZTQ0MjE0MWNlNTUxMjFjMmVmNGNlNTg3NTBkMWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.H8e5jE940Q8xZqNHjbF-bF3y5adWHP8gVw2ch-A-VGA)
Tons of options and features, including
- Dimensions
- Door/Window openings
- Trim
- Color/Material
- Colliders
- "Bridges" with sibling walls, to create seamless corners
- Auto-updating, with adjustable frequency.
- Designed with readibility and simplicity in mind.
Use as-is or create your own plugins for easier wall placement. Includes helper functions "generateNextWall()" and "splitWall()" for easier plugin creation.
Guide:
- Download WallGen.gd
- Add to your project
- Drag the WallGen Node into your scene, or call WallGen.construct()