Learn how to use Godot Builtin drag and drop system and craft your own inventory system that allows dropping items in the 3D world.
🌐 Want to support me? / octodemy
Project source files: / 135188580
····················································································
Here's a quick guide on how to use Godot's drag and drop system to create a functional inventory system with support for 3D drops.
We`ll start with a simple and then upgrade it to use Item resources.
I'll be showing a lot of tricks and workarounds to solve the most common problems you might find while creating this.
Including: Removing the forbidden cursor, canceling drags, and fixing the unhandled input for the 3D viewport drop.
#godot4 #godot #godotengine
CHAPTERS:
0:00 Intro
0:14 The Inventory UI
2:40 Basic item slot
5:28 The 3 ways to remove the forbidden cursor
6:35 Drag whole slot item
6:57 Cancelling drags
7:40 Item resources
9:48 3D world item
10:37 Drop items on 3D viewport
11:54 Getting items back
12:15 Fixing unhandled inputs
12:36 End