Search Unity

FPS Help.. Pickup and Use "Weapon"

Discussion in 'Scripting' started by radler470, Jan 8, 2015.

  1. radler470

    radler470

    Joined:
    Dec 3, 2014
    Posts:
    86
    New to Unity, so bear with me.

    Does anyone have a link to some good resources (or could help) with this issue? I have a first person camera set up, and I need to walk up to an object, click to pick it up, have the character hold onto it, and then click again to put it in a specific location.

    Help is much appreciated!
     
    Last edited: Jan 8, 2015
  2. wizardious

    wizardious

    Joined:
    Dec 31, 2009
    Posts:
    189
    radler470 likes this.
  3. radler470

    radler470

    Joined:
    Dec 3, 2014
    Posts:
    86
  4. radler470

    radler470

    Joined:
    Dec 3, 2014
    Posts:
    86
    I am a total idiot when it comes to scripting, but I guess essentially what I want is for an object set to active when a trigger is clicked, and inactive when another trigger is clicked. I can't seem to find any specific tutorials that deal with this, they seem much more complicated.

    Any ideas?
     
  5. wizardious

    wizardious

    Joined:
    Dec 31, 2009
    Posts:
    189
    Try these.


    Youtube is a great place to learn Unity!