Advanced Drag And Drop Interaction System
Grab, rotate, and throw objects in a smooth, immersive way. Enjoy full customization for movement, rotation, and force to fit your gameplay style!

* This page contains affiliate links, meaning we may earn a small commission if you purchase something through them, at no extra cost. $15
- Category:
- Templates › Systems
- Developer:
- GamePlan Assets
- Price:
- $15
- Favorites:
- 13
- Supported Unity Versions:
- 2021.3.19 or higher
- Current Version:
- 1.1
- Download Size:
- 42.25 KB
- Last Update:
- Dec 25, 2024
- Description:
- The Advanced Drag And Drop Interaction System allows for effortless object manipulation with intuitive controls. Key features include:
Player Movement System:
- Customizable walking speed
- Sprinting with adjustable speed
- Crouching with customizable speed and height
- Jumping with adjustable height
- Gravity applied to the player for realistic physics
Mouse Look System:
- Adjustable mouse sensitivity
- Camera rotation with mouse movement
- Cursor lock for immersive first-person view
Drag and Drop System:
- Object pickup with raycast from the camera
- Smooth object dragging and rotation
- Throwing objects with customizable force
- Object dropping with physics interaction
Collision & Release System:
- Collision detection for object release
Customization Features:
- Input customization for movement keys
- Customizable rotation axis for objects
- Adjustable drag speed
Key settings in the Inspector include:
- Walk speed
- Sprint speed
- Crouch speed
- Jump height
- Gravity
- Crouch height
- Rotation axis
- Throw force
- Outline system - Technical Details:
- Player Movement System:
- Walking Speed: Customizable walking speed, adjustable in the Inspector.
- Sprinting: Sprinting can be toggled by pressing the Left Shift key, enhancing movement speed.
- Crouching: Customizable crouching speed and height. Activated by the Left Ctrl key, with smooth transitions between standing and crouching.
- Jumping: The player can jump by pressing the Space key when grounded, with customizable jump height.
- Gravity: Gravity is applied to the player during the game, pulling them down when they are in the air for realistic physics.
Mouse Look System:
- Mouse Sensitivity: Adjustable sensitivity to control how fast the camera rotates when the mouse is moved.
- Camera Rotation: The player’s camera rotates vertically with the mouse's Y-axis and horizontally with the player’s body rotation along the X-axis.
- Cursor Lock: The mouse cursor is locked to the center of the screen for an immersive first-person view, and is hidden during gameplay.
Drag and Drop System:
- Object Pickup: Allows the player to pick up objects that are within a defined range (pickupRange), using a raycast from the camera.
- Object Dragging: Once an object is picked up, it follows the player's mouse movement with a smooth drag effect.
- Object Rotation: Objects can be rotated with the mouse scroll wheel, customizable to rotate along the X, Y, or Z axes.
- Throwing Objects: The player can throw objects by pressing the right mouse button, with a force applied in the direction the camera is facing.
- Object Dropping: The player can drop objects by releasing the left mouse button, and the object will interact with the game world’s physics again.
- Weight-Based: Weight based drag and drop system.
Collision & Release System:
- Collision Detection: While dragging an object, if it collides with another collider, the object will be released. This system ensures the player cannot carry an object through solid objects.
Customization Features:
- Input Customization: The ability to customize the keys for movement (e.g., crouch, sprint, jump) via the Inspector, making the game more accessible.
- Rotation Axis: Customizable rotation axis for objects being dragged, allowing for rotation along any of the X, Y, or Z axes.
- Drag Speed: The speed at which objects are dragged is adjustable, providing more control over object movement.
Key Settings in the Inspector:
- Walk Speed: Controls the normal walking speed of the player.
- Sprint Speed: Defines how fast the player moves while sprinting.
- Crouch Speed: The player’s movement speed when crouching.
- Jump Height: Customizable height of the jump.
- Gravity: Customizable gravity to affect the player’s fall speed.
- Crouch Height: The player’s height when crouching.
- Rotation Axis: The axis around which an object rotates when dragged.
- Throw Force: Customizable force applied when an object is thrown.
- Outline System - Continue »