Tool House Scatter
Tool House Scatter
school exam.
FEATURES :
Interface from which you can select the prefab
Preview of the prefab in the game viewport, which follows the mouse cursor
Possibility of rotating the preview of the selected prefab by 90 degrees at a time
Spawning and snapping of the prefab at the entrance of the wall to which it is attached
Project info
1 School exam
February 15th - march 5th, 2024, two weeks
Unity
Windows
Tool Overview
The House Scatter Tool is a custom Unity Editor extension developed for the final tools module exam. It enables efficient placement of house prefabs within a scene by providing real-time previews, snapping functionality, and intuitive rotation controls. This tool streamlines the level design process by allowing precise and flexible object placement.
Tool Goal
The tool aims to facilitate the efficient and accurate placement of prefabs in a scene. It provides a preview system, object snapping to align houses properly, and an easy-to-use rotation system to ensure perfect positioning. These features enhance the workflow for level designers.
Key Features
The tool provides an intuitive workflow for placing and managing prefabs in the Unity Editor. It offers a live preview system, snapping options for precision, and quick object selection for seamless level design.
Features
- Real-time Preview: Displays a visual preview of the selected prefab before placement.
- Snapping System: Ensures accurate alignment with the environment by snapping objects to predefined positions.
- Rotation Control: Allows objects to be rotated in 90-degree increments for precise orientation.
- Prefab Selection UI: A dedicated in-scene menu lets users choose from available prefabs with ease.
- Efficient Placement: Uses optimized raycasting to detect valid placement areas.
Tool Mechanics
The House Scatter Tool combines real-time visualization, snapping mechanics, and optimized object placement to improve level design workflows. Its UI-based prefab selection and intuitive controls ensure a seamless experience. Below are the key mechanics that define how the tool functions.
Additional information:
- Prefab Preview: Displays a ghosted version of the prefab before placement to assist with positioning.
- Snapping Logic: Uses raycasts to align objects with predefined positions, ensuring seamless integration.
- Placement System: Instantiates the selected prefab at the correct position upon user input.
- Rotation Functionality: Allows for quick and precise rotation using key-based inputs.
Let's get in touch!
Feel free to reach out! Whether you have a question, a project idea, or just want to chat about game development, I’d love to connect.
Email: loory4895@gmail.com
Discord: Lollo48#2497
*Based on : work illustrations @iluskaland 2024
*Thanks for the illustration: work illustrations byStoryset
*Thanks for the icons: flatart, font awesome, microsoft, chanut is indurstries, kalash on Iconfinder