Spotlight problem?
Hi i am brand new to all of this so sorry if this is a really stupid question. I am trying to make a flashlight so I took a first person controller and put the spotlight by it, rotated it and dragged...
View ArticleShowing a picture on collision errors
Hi! I am trying to make it so that when I touch a game object, it will display a picture, and then when you stop touching it the picture will disappear. I have tried looking through others answers, but...
View ArticleHow can I get this script to work?
var distance; var target : Transform; var lookAtDistance = 15.0; var attackRange = 10.0; var moveSpeed = 5.0; var damping = 6.0; private var isItAttacking = false; function Update () { distance =...
View ArticleMake the first person controller transparent?
Hi everyone :) I have a script that makes the camera move up and down when you walk. However, when I test my game I see that if you look straight down you can see the first person controller. Is there...
View ArticleVery simple picking up items script?
Hi! I have a flashlight laying on the ground and I want it to be so when the player collides with it, they will be able to use the flashlight. I tried to look up the answer for myself, but all the...
View Article