This repository contains an advanced grabbing system that allows players to interact with objects using physics, similar to the mechanics in the game Teardown or R.E.P.O. The system enables players to grab objects with mass and manipulate them using mouse and key controls.
- Simple input for grabbing and releasing objects.
- Enable and disable features.
- Connection breaks if the object moves too far from the player.
- Heavier objects are more challenging to maneuver to the grab point.
- Visual feedback includes a line indicating the holding point and the grab point.
- Compatible with any type of mesh.
- Download the latest
Grab SystemUnity package from the Releases section. - Open your Unity project.
- Import the package by simply dragging it into the assets folder, or go navigating to
Assets>Import Package>Custom Packageand selecting the downloaded.unitypackagefile.
- To set up the Grab System just attatch the
Grab Systemto you player and place your desired camera on theCamera Transformfield. - In case of using object rotation, just add to your camera controller a way to disable mouse inputs with the
IsRotatinglabel.
This project is licensed under the MIT License. See the LICENSE file for details.