Eco Forge is a Unity editor tool for brush painting, grid arrays, physics rain, and smart erasing of objects. Full undo and real‑time preview.Eco Forge – Professional Environment Placement Tools for UnityVersion 1.0 | Editor Extension | (c) Grim Forge – All Rights ReservedEco Forge is a comprehensive editor toolset designed to streamline and accelerate the placement of objects within a Unity scene. Developed for level artists, environment designers, and technical artists, it offers five integrated placement methods:Paint Object – Brush painting with adjustable radius, spacing, Y offset, random rotation, and random scale. Objects snap to any collider surface. Supports grouping and a Bake function to set objects as static and kinematic.Grid Objects – Create rectangular arrays with user‑defined X,Y,Z dimensions and spacing. The grid preview follows the mouse cursor and can be locked with the P key. Random rotation and scale are fully supported.Physic Rain – Spawn physics‑enabled objects over time while holding the mouse button. Each object receives a Rigidbody (non‑kinematic, gravity enabled) and an appropriate Collider if missing. Brush size and spacing control the area and density; time interval controls the spawn rate.Set Physic – Temporarily add Rigidbody components to selected objects and simulate physics in the editor. The tool records which Rigidbodies were originally present and restores original settings or removes added components when simulation ends. Ideal for testing natural settling of piles.Erase Objects – A smart eraser that deletes only objects created by Eco Forge during the current session, preventing accidental removal of manually placed assets.Additional capabilities include real‑time semi‑transparent previews, full Undo/Redo support, optional grouping of spawned objects under a timestamped parent, and a Bake function that optimises performance after placement. The tool temporarily overrides Unity’s physics simulation mode to allow Rigidbodies to move in Edit Mode; the original mode is restored when the window is closed.Eco Forge is ideal for scattering rocks, grass, trees, props, debris, or any environment elements quickly and with full control.Unity Version: 2021.3 or newer (tested with 2021.3 LTS, 2022.3 LTS, 2023.1+)Platform: Editor only (does not run in built players)Dependencies:A configuration asset of type KH_GrimForgeMainConfigDB must exist in the project (create via Create > Grim Forge > Main Config). The tool accesses it via a singleton.The scene must have colliders for raycasting.The built‑in shader "Sprites/Default" is used for previews.Installation: Place the script KH_EcoForgeEnvironmentPainterEditor.cs inside any Editor folder in the Unity project. Open the tool from Tools > Grim Forge > Eco Forge Environment Tools.Physics Behaviour: When the window is open, the tool sets Physics.simulationMode = SimulationMode.Script and calls Physics.Simulate every editor frame. All existing Rigidbodies in the scene are forced to isKinematic = true at startup to avoid interference; they are restored when the window closes.Preview System: Preview objects are temporary (HideFlags.DontSave) and use a material with the shader "Sprites/Default" coloured by the config's PrimaryColor. Rotation and scale previews are deterministic and match final placement.Undo Support: All spawn operations (paint, grid, rain) are registered with Unity's Undo system.Object Tracking: The tool maintains an internal list (clonedObjects) of all objects it creates during the session. The eraser uses this list. Closing the window clears the list.Performance Recommendations: Enable Group Spawned Objects for large hierarchies. Use Bake Painted Objects to set objects as static and kinematic after placement. Avoid spacing values below 0.3 to prevent excessive object counts. For terrain, ensure sufficient raycasting resolution.




