Drag Script Not Working

I have this nice little script I made which would let you pick up an item, but when I tried to implement Vector 3, it broke. It operates off of a tag, so I used it to say, in short, “If the player is less than 5 feet away, they can pick “Object” (A tag) up.” I keep getting an error, and I think it is because of how I wrote the tag out. I will post the line that is causing the errors when I get home. Any help? XP

Need to see the code. Please post the script, the exact error message, and put a comment on the line that generates the error.

Ok, once my compute returns from the dead.... Getting a new one this week.

1 Answer

1

KK, this is no longer valid, since the default drag script included in unity works fine for what I need. Thanks for the support! :stuck_out_tongue: