- Home /
Duplicate Question
Picking up flashlight?
Okay so I'm making a horror game where at first, you start off without a flashlight but later in the game, the player finds a flashlight. What I need help with is how can I make the flashlight a collectable & useable item? Think of it as a regular shooter game where you pick up a weapon and use it... How can I do that with a flashlight?? Help please!
This question is both general, and has been covered numerous times. Google "how to pickup items unity3d," and do some research. If you get stuck with a specific problem with any of the solutions you find in your searching, we welcome your single, specific issue as a new question.
you could have a light attached to the player, but disabled. and when the player collides with the torch object the light is enabled and the object destroyed. and to drop it you could push a button, and disable the light and instantiate the object where the player is again :)