Decorating Toolkit
The Decorating Toolkit is a simple system for Unity to help you make object placement and interior design stuff.
TODO: Add a short showcase video
How it works
The toolkit is built around a few main ideas:
- The Controller: This is the brain. It listens for your clicks and keeps track of what you're dragging.
- Profiles: These are ScriptableObjects where you set the rules. You can have different ones for different items, like one for heavy chairs and another for small things that snap to a grid.
- Motors: This is what actually moves the object. A physics motor uses forces to pull things to your mouse, while a grid motor makes sure it stays on the grid.
- Validators: These are the checks to see if you can put an object there. Like making sure a chair isnt floating or stuck in a wall.
Features
- Different Drag Modes: You can use Physics (Rigidbody) or Static dragging.
- Grid Snapping: Works with global grids or local ones on walls and floors.
- Validation: Checks for collisions in real time so you know where you can place things.
- Layer Isolation: It handles layers automatically so you dont raycast against the object you're holding.
- Modular: Its built on interfaces so you change if you need to.
- Simple Logic: Central A→B rules on
SceneLogic(Logic Window) + UnityEvents; thinObjectLogichooks per prop.
Ready to get started? Go to the Quick Start Guide!