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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjA0NDAsIm5iZiI6MTczOTUyMDE0MCwicGF0aCI6Ii8xMzgxNDE3MC8zODI1ODg5NzQtZjQ1YzBiNGEtNDgyZC00NTdmLWFhZWQtMTM0MzhkOTNlNmFlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDA4MDIyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc3YmFiN2ZkNTdhNjBjYmZkMzgwNjAxM2M5MTMzOGNlNmEyYmVhNzc4NWM5MzBiOTFjNGUwOGM3NDM2MmQ0YzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fDEEVdxq_Mt_b3v8VNxGzDlFfNmnxumw_jfMOH8nQ9E)
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()