follow buttons resulting in raw RSS markup
if i click the 'Follow Answers' or 'Follow Answers and Comments' in Answers today, the result is raw RSS markup, and the "number of people following" statistic remains unchanged. behavior is the same...
View ArticleFollowObject script not working on spawned enemies
I have a FollowObject script, shown here: public Transform Player; public float MoveSpeed = 4; public float MaxDist = 10; public float MinDist = 5; void Update () { transform.LookAt (Player); if...
View ArticleCamera follow
What do i need to change in my code so the camera is going to follow the player smoothly? here is the code var player : GameObject; function Update() { this.gameObject.transform.position = new...
View ArticleCamera follow smoothness problem
Camera is moving too smooth how can i make it to be fast? tried messing around with my smoothTime variable but no success. code: public var player : GameObject; var smoothTime = 0.0; private var...
View Articleproblem ghosting camera with 2 objets
Problem whit camera if there 2 objets in the same view. The problem if whit the second objet that follow the player , it got like big ghosting ( more in mi monitor 144hz than in the video ) but u just...
View ArticleMobile game touch problem (C#)
I'm developing a 2D mobile game using touch. I'm trying to make it so that you can only hold down one finger on the screen when you do an object will follow the position on where you touch, so when you...
View ArticleHow can I get my camera to reset its position behind the player?
I am making a game where the player controls a spaceship and I wanted to add a smooth follow camera. I tried some code, but I am having some trouble. Whenever I tilt the ship down, the camera zooms out...
View Articlemy gun wont follow my mouse
my gun is on my fps conntroller but wont follow my mouse, the gun stays in front, instead of looking down with me it says out front, in front #pragma strict function Update () {...
View ArticleHow can I get my camera to follow a clone after a certain trigger occurs?
The next issue I've been biting my teeth out on: After trigger occurs, I want my main Player camera to focus its "gaze" on the incoming enemy **clone** which has spawned. Problem is though, it wont. Is...
View ArticleCan't Get Prefab Clone To Follow Mouse
I already looked up questions for the following question, however I am still not getting the results I need. I created the Prefab called "Ground". I then made a script called "PrefabCreation". **Prefab...
View Article2D - Object follow cursor on X-axis.
I've been searching around but can't seem to find the answer of my question. I'm very new to Unity so please take everything with a bit of salt and explain simple if you have a solution, thanks in...
View ArticleProblem with Prefab - Following cursor
Hi all , i want to my cube prefab will instantiate on my cursor position when i make a first left click and after that i want to the cube follow my cursor , after , on a second left click i want my...
View ArticleCamera Follow Mouse
Hi there I've got this piece of code for my camera (thanks to @simco500) to look around the player, according to the mouse position. It works like a charm, except I can't adjust how far the camera can...
View ArticleMake Instantiated GO follow localPlayer and be visible for other players
Hey everyone, right now I'm working on my first multiplayer game. Basicly players controll a ball thats followed by a top down camera. Thank's to the new networking tools, I got that working like I...
View Articlewhat is a method for normal treatment which blazes the additional fats
The successful consequence of this supplement will keep up the body wellness and gives a chance to get a slimmer body without unsafe impacts. It works with your temperament as it charges over your...
View ArticleMake player follow mouse position
I have a space ship in a 2D top down game. Ive been messing around with a script from the unity answers. Here is the script: using UnityEngine; using System.Collections; public class playerController :...
View ArticleHow i can make my gun follow the crosshair?
**Hello!** I need help **:(** I'm working on an **on-rail shooter** but I do not know how to get the **Crosshair** moves on the screen **"freely"** with the gun. What I want is to control only the...
View ArticleHow to modify this script to not rotate the camera when I rotate the player.
I want the camera to follow the player but I dont want the camera to rotate when the player is turning. This is the entire script : using UnityEngine; using System.Collections; using...
View ArticleHow to get NPC to follow you from a short distance?
Noob question, but I want a man (Man_Business) to follow me from a short distance, keeping within that distance but never getting too close. Any help please, I have nothing.
View ArticleHow to fix my chasing/attacking code?
So how the code currently works is, the enemy will find the player and move towards him. When he finds him, he will stop and then start attacking. If the player moves away though, the enemy will stop...
View Article