🧩 EasyDrag 3D – Drag & Drop System
EasyDrag 3D is a lightweight and intuitive drag & drop system for Unity that lets you easily grab, move, and rotate 3D Rigidbody objects using the mouse with zero coding required.
Whether you're building a puzzle game, an inventory system, or any interactive 3D experience, EasyDrag 3D gives you the tools to add smooth, physics-based object manipulation to your project in seconds.
🚀 Features
- 🔹 Click and drag any Rigidbody object
- 🔹 Restrict interaction by LayerMask
- 🔹 Scroll to rotate objects along the camera forward axis
- 🔹 Adjustable move and rotation speed
- 🔹 Automatically disables gravity while dragging
- 🔹 Fully customizable from the Inspector
- 🔹 Minimal, clean code – easy to extend
🛠️ How to Use
- Add the ObjectGrabbing script to an empty GameObject
- Assign a draggable LayerMask
- Add Rigidbody components to the objects you want to drag
- Press Play – that’s it!
🧠 Use Cases
- Physics-based puzzle games
- Sandbox interaction
- 3D level editors
- VR or mouse-controlled manipulation systems
- Educational simulations
✅ Compatibility
- Works with Unity 2020+
- Compatible with all 3D Render Pipelines (URP, HDRP, Built-in)
- Requires no third-party packages
📦 Includes
- Full source code (C#)
- Sample scene
- Clean and documented script
- Easy-to-follow comments