top of page
Simple Pickup Script
------------Features in the script.-----------------------------
*Push and pull objects.
*Pickup Objects.
*Rotate Objects.
*Throw Objects.
*Size:6KB!
*Works with unity 4,5 and higher.
*Easy to use!
------------Change the distance of Push, Pull and Power.-----------------------------
* - You can modify these values in the inspector tab you just need to change "Far" and "Close" you can also change the power of the throw in "Power".
------------Things to make sure to check it all works correctly-----------------------------
* - Make sure there is a rigibody on the object so it doesn't go though the floor.
* - Make sure there is a collider on the object.
* - Make sure the "PickupCharacter" Script is on the player, make sure "Pickupobject" is on the object
* - If the error "ArgumentExceptionL Input Button Rotate (Left,Right,Up,Down) is not setup" goto Edit-Project Settings-Input Then add the Rotate left and other directions.
------------Features to be added-----------------------------
*Mobile support (Nearly complete)
*Option to choose to not need the other script and go by Tag or layer.
*Option to add the controls in the script.(Added)
*Throw where the player is looking(Added)
------------How To use-----------------------------
1.Add the "PickupCharacter" to your main character.
2.Add the "Pickupobject" to what ever you want to pick up.
3.Press play.
4.Right click to pick up object(to rotate use "Z","X","C" and "V"; to push and pull use the mouse wheel).

bottom of page
