Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » FREE Project Downloads & Recources » Scripts » [Help] With Door Script

[Help] With Door Script

View previous topic View next topic Go down  Message [Page 1 of 1]

1 [Help] With Door Script on Mon Feb 01, 2016 1:54 pm


Member [Lv. 1]
Member [Lv. 1]
Hi sorry for the post but im new to all this and i cant figure out what is wrong with the script its an amnesia type script where u can drag the doors etc if someone could help me would be greatly appreciated

Right im getting this error in unity.......
ArgumentException: Input Button Grab is not setup.
To change the input settings use: Edit -> Project Settings -> Input
DragRigidbodyUse.FixedUpdate () (at Assets/Custom/Scripts/DragRigidbodyUse.cs:71)

The part of script that apparantly needs changing......
tryPickupObject = true;
} else {
}else if(isObjectHeld){

if(Input.GetButton(ThrowButton) && isObjectHeld){
isObjectHeld = false;
objectHeld.GetComponent<Rigidbody>().useGravity = true;

isObjectHeld = false;
tryPickupObject = false;

Thanks in advance for help.

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum