Advanced Drag And Drop Interaction System
GamePlan Assets
$7.50
$15.00
50%OFF
(no ratings)
Jump AssetStore
Grab, rotate, and throw objects in a smooth, immersive way. Enjoy full customization for movement, rotation, and force to fit your gameplay style!Effortlessly pick up, drag, rotate, and throw objects with intuitive controls. Customize rotation and drag speed for a seamless interactive experience with Advanced Drag And Drop Interaction System!For a list of features, see 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.🛑 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.