fabian-becker/simple-asset-placer
About
Effortless 3D Asset Placement for Godot 4
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original๐ฏ Simple Asset Placer
A minimal asset placement plugin for Godot 4.x โ drag assets into your scene and transform them with the keyboard, without leaving the viewport.
Simple Asset Placer does two things well: a compact asset browser dock and an inline keyboard transform engine that works everywhere โ while dragging from the dock, while dragging from the regular FileSystem dock, or while carrying a selection you picked up from the scene. No plugin modes, no preview objects, just the editor extended.
๐ Version 3.0 โ The Minimal Rewrite
A from-scratch rewrite (addons/simpleassetplacer/) that focuses on two things and removes everything else:
- Inline keyboard transforms โ Rotate (
X/Y/Z), move (W/A/S/D+Q/Eheight) and scale (L/K) the selected Node3D nodes directly, even while dragging an asset from the FileSystem dock. No plugin mode, no preview object โ just the editor extended. Every key and step value is editable in Godot's own Editor Settings undersimple_asset_placer/. - Compact asset browser dock โ thumbnails straight from the engine's
EditorResourcePreviewpipeline, live search, a grouped folder list, native drag-and-drop, and double-click placement with full undo.
Both the dock and the keyboard transforms are configured in Godot's Editor Settings under simple_asset_placer/. See the changelog for details.
โจ Features
๐ Asset Browser Dock
- Grouped list view โ folders become collapsible group headers, assets listed underneath; one clean view for the whole project
- Engine-native thumbnails โ previews come from Godot's own
EditorResourcePreviewpipeline - Live search โ filter assets across the entire tree as you type
- Native drag & drop โ drag a thumbnail straight into the 3D viewport; double-clicking one instead spawns it under the cursor already picked up, so you can transform it into place before confirming (full undo)
- Plays well with the FileSystem dock โ assets dragged from the regular FileSystem get the same inline transform support
- Keep-placing switch โ a checkbox below the asset count that keeps the keep-placing mode on, so a row of assets goes down without holding any modifier
โจ๏ธ Inline Keyboard Transforms
- Works while dragging โ grab an asset (dock or FileSystem) and rotate/move/scale the preview before you drop it
- Pick-up mode โ press
Tabto grab the current selection; it follows your cursor over surfaces, transform it in place, confirm withTab/Enter/Left Mouseor cancel withEsc/Right Mouse - Quick duplicate stamp โ press
Vto duplicate the selection and carry the copies; click to stamp them,Vagain to stamp the placed copies,Esc/Right Mouseto discard - Keep placing โ double-click an asset to spawn one instance you can transform; hold
Shiftwhile confirming (or turn on theKeep placingswitch in the dock) and the placed instance stays where it is while a fresh copy of the same asset is carried straight away, so everyEnter/Left Mouselays down the next piece and wall rows go down with one click each (each placed instance is its own undo step). Confirming a picked-up scene node the same way carries duplicates of it instead, so copies can be stamped from the tree as well - Surface snapping โ the carried nodes raycast onto the surface under your cursor; grid snapping follows the editor's Use Snap toggle (hold
Ctrlto temporarily invert, exactly like the engine) - Snap to floor โ
PageDownwhile carrying drops the selection onto the surface below and locks its height until you adjust height again - Self-collision safe โ the pick-up ray ignores the carried node's own collision (including CSG collision bodies)
- Shortcut shield โ editor shortcuts (Ctrl+S save, Ctrl+X cut, โฆ) are captured while a transform key is active, so your transforms never save or cut the scene
- Undo batching โ every drag/pick-up/duplicate session is a single undo step; stamped duplicates collapse into one entry per stamp
- QWERTZ-friendly โ keys are matched by keycap label (logical keycodes), so
Y/Zbehave correctly on German layouts
๐ฎ Quick Start
Installation
- Download or clone this repository
- Copy the
addons/simpleassetplacer/folder into your project'saddons/directory - Enable Simple Asset Placer in Project โ Project Settings โ Plugins
- The Asset Browser dock appears in the right panel of the editor
Place an asset
Drag & drop:
1. Drag a thumbnail from the Asset Browser dock (or a file from the FileSystem
dock) into the 3D viewport.
2. The preview follows your cursor and snaps to surfaces.
3. While dragging, transform it inline: X/Y/Z rotate ยท W/A/S/D move ยท
Q/E height ยท L/K scale ยท Ctrl/Alt/Shift change step size & direction.
4. Release the mouse to place the asset (one undo step).
Double-click (transform it before placing):
1. Double-click a thumbnail in the Asset Browser dock - one instance is
spawned under the cursor and picked up.
2. Move the cursor and use the same transform keys to put it in place.
3. Confirm with Enter or Left Mouse (one undo step); Esc or Right Mouse
drops the instance again.
Move & transform placed nodes
1. Select any Node3D node(s) in the scene tree.
2. Press Tab โ the selection is picked up and follows your cursor.
3. Transform it with the same keys (rotation, movement, height, scale,
snapping, snap-to-floor).
4. Confirm with Tab, Enter or Left Mouse โ Esc or Right Mouse cancels
and restores the original transforms.
Stamp duplicates
1. Select a node and press V โ a duplicate is created and picked up.
2. Left Mouse (or Enter/Tab) stamps the copy in place; press V again to
stamp the placed copies for a rapid chain of variations.
3. Esc or Right Mouse deletes the copies and restores the original.
Keep placing (place a row of assets)
1. Double-click an asset in the Asset Browser dock (or drag one into the
viewport and hold Shift as you release) - one instance is spawned under
your cursor and picked up, ready to transform.
2. Move it into place: it follows the cursor over surfaces, snaps to the
grid and takes the usual transform keys like any picked-up selection.
3. Turn on the "Keep placing" switch below the asset count - or hold Shift
while confirming - and every confirm keeps placing: the instance stays
where it is and a fresh copy of the same asset is carried immediately.
4. Confirm each next piece with Enter or Left Mouse: walls line up piece by
piece with one click each. Turn the switch off (or release Shift on a
confirm) to stop, or press Esc / Right Mouse to drop the piece still
under the cursor - every already-placed piece stays. Each one is its own
undo step.
The switch is the same mode as holding Shift, just sticky: it survives editor
restarts (it is stored as the keep_placing_mode editor setting) and applies
to drag & drop too, so a dropped asset starts a chain without any modifier
held.
Keep placing also covers existing scene nodes: pick one up (Tab), transform it and confirm with Shift held (or the switch on) - the node stays where you confirmed it and a duplicate of it is carried, so the next confirms stamp copies of it just like the quick-duplicate chain (pick up several nodes and the whole group is stamped at once). Esc / Right Mouse drops the carried duplicates and leaves the confirmed nodes alone.
โจ๏ธ Controls
All keys and step sizes live in Editor โ Editor Settings โ simple_asset_placer/ โ every action below is remappable.
| Action | Default | Description |
|---|---|---|
| Pick up selection | Tab |
Grab the selection; it follows the cursor over surfaces |
| Confirm / drop | Tab Enter LMB |
Drop carried nodes at the current position |
| Cancel pickup | Esc RMB |
Restore the original transforms |
| Quick duplicate | V |
Duplicate selection and carry the copies (stamping) |
| Rotate | X Y Z |
Rotate around the X / Y / Z axis |
| Move | W A S D |
Move on the horizontal plane |
| Height | Q E |
Move up / down |
| Scale | L K |
Scale up / down |
| Snap to floor | PageDown |
While carrying: drop onto the surface below and lock height |
| Fine modifier | Ctrl |
Small step (also inverts the snap toggle, engine-style) |
| Large modifier | Alt |
Big step |
| Reverse modifier | Shift |
Inverts the direction of the current key |
| Keep-placing modifier | Shift |
Held while confirming: place the carried instance and carry a fresh copy of the same asset |
| Keep placing switch | โ | Dock checkbox below the asset count: the same mode as the keep-placing modifier, but sticky (stored as the keep_placing_mode editor setting) |
โ๏ธ Editor Settings
Everything is configured under Editor โ Editor Settings โ simple_asset_placer/:
- Keys โ one setting per action (
*_key), free-text likeTab,Enter,F,PageDown, or single letters - Steps โ
rotation_step_degrees(15ยฐ),move_step(0.5),scale_step_factor(0.1) and their fine/large variants - Snap โ
snap_increment:0follows the editor's Use Snap toggle with its grid size,> 0forces a fixed increment,< 0disables snapping while carrying - Modes โ
keep_placing_mode: the dock's Keep placing switch, so the mode can also be toggled from here (the dock follows this setting)
๐ Supported Asset Formats
The dock lists scene and model files that Godot's import system can preview:
.tscn ยท .scn ยท .res ยท .tres ยท .glb ยท .gltf ยท .fbx ยท .obj ยท .dae
Assets must contain mesh or scene data to produce a draggable instance. Surface placement raycasts against collision โ for Terrain3D, enable its collision option so the ray finds the ground.
๐ Project Structure
addons/simpleassetplacer/
โโโ plugin.cfg # Plugin metadata (version 3.1.0)
โโโ plugin.gd # Plugin entry point
โโโ core/
โ โโโ inline_transform.gd # Inline keyboard transform engine
โ โโโ keybinds.gd # Keys and step sizes (Editor Settings)
โโโ ui/
โโโ asset_dock.gd # Asset browser dock
Note: For detailed version history, see CHANGELOG.md.
๐ง Troubleshooting
- Dock is empty โ click the Refresh button in the dock header; only the formats listed above appear
- Thumbnails missing or stale โ previews are generated by the engine; use Refresh, or check the asset imports in the FileSystem dock
- Transform keys do nothing โ click into the 3D viewport first so it has focus; keys apply only to the 3D scene while the mouse is over it
- A key opens the wrong editor shortcut โ that's what the shortcut shield is for; it engages while you hold a transform key. If a conflict remains, remap the action in Editor Settings
- Node snaps while snapping is off โ grid snapping follows the editor's Use Snap toggle (toolbar); hold
Ctrlto invert it temporarily, or setsnap_incrementto a negative value to disable it entirely - Carried node flies away or collides โ fixed in 3.0: the pick-up ray skips the carried node's own collision; use
PageDownto re-seat it on the floor
๐ค Contributing
Contributions are welcome! Open issues with your Godot version, OS and reproduction steps, and keep pull requests focused. Code style: typed GDScript, snake_case, tabs (see .editorconfig), and an updated CHANGELOG.md.
๐ License
This project is licensed under the MIT License โ see the LICENSE file for details.
๐ Credits
Author: IIFabixn (aka LuckyTeapot) Repository: github.com/IIFabixn/simple-asset-placer Version: 3.1.0 ยท Godot: 4.x (developed and tested on 4.7) ยท License: MIT
Thanks to the Godot Engine team and community, and to everyone who tested and gave feedback.
Explore related projects
Loadingโฆ