Quantcast
Channel: Questions in topic: "follow"
Browsing all 536 articles
Browse latest View live
↧

Character always follow straight help!!!

Hi there so i have a character.. and i would like him to always to be drawn to the middle with his face forward.. like the one you see.. but when i get it to spawn.. it always follows with the wrong...

View Article


An Efficient Way To Follow Transform's Position?

Unity Version 4.3.4, C# scripting. Barely learned Unity last year. Wish I had Pro to solve my problems. Wink wink? Hint? Hi again fellow Unity game developers. How are you? Good? Well I'm not! You see...

View Article


Camera following Pivot not working

I want to make a thirdpersonshooter-camerascript the player is the parent of an empty(pivot) and the camera should follow the pivot ![camera][1] when i move my mouse to the left the player rotates to...

View Article

How to make 2 or more Objects to follow 2 or more fingers

So I'm trying to make a game where you need to control 2 objects, I managed to make obects to folow only one finger at time. heres the code : void Update () { if (Input.touchCount == 1 &&...

View Article

Need Help: Unity draw-to-follow?

I need to draw a path based on a mouse click and drag that and have an object follow that path (similar to swipe to move in mobile games like Harbor Master). I also would like to smooth the line as...

View Article


Is it possible to make an AI follow the player on a NavMesh inside a sphere...

Hi all, so I am looking for a way to get my Follower style NPC to follow the player inside a sphere. I have the player with a cylinder as a child of the player, which has a NavMesh on it (NPCLayer),...

View Article

Unity 2D Object Smooth Follow Problem C#

Okay, I want objectA to follow ObjectB but not until ObjectB is a certain distance away. The code I have works*... But its really jumpy sometimes as it only works when ObjectB is further away than 3...

View Article

Make a cube follow your finger iOS C#

*Tired Sob.... Anyone know how or where i can find some code to attach to a Cube and make it follow my finger for iOS in C#? I've trolled the whole interwebz and can't seem to find any ideas as to how...

View Article


Camera Controls, Focus one object with reference from another object

Hi, I want to make my camera follow an object say object1 i.e keep object1 in view but not loosing an other object2 from camera view. In simple words I want that my main object remain in camera view...

View Article


Make Camera in VR

Hi everyone ! I hope so much that someone can help me because there isn't any tutorial on it !!! So, there is my problem : I want to make my camera going where i'm looking, just like if i was someone...

View Article

is it possible to have a ragdoll head following target?

I downloaded the head look controller.. would love that my ragdolls follow with their heads a target. Is that possible? Because after setting up the head controller i just get the ragdoll heads...

View Article

Scripting beginner - how can I make the camera follow the character but still...

I have a script that follows the character, however it rotates with the character, which is quite annoying since the character appears to be moving forward, but I am actually holding the left arrow...

View Article

Following object (arrow) slides off of a object

Hello, I'm beginner with Unity, so maybe this is pretty basic.. but I couldn't find any help.. So I'm creating a model of Solar System and now when I wanted to add an arrow pointing to a GameObject I...

View Article


Triangles don't follow the vertices changed on mesh

It's been while I've worked with mesh editing. And there is this little weird issue I've never encountered before. I am changing vertices on the mesh, for the test, i am moving one vertex in some...

View Article

Improve MouseOrbitImproved

using the following code (http://wiki.unity3d.com/index.php?title=MouseOrbitImproved) I want to be able to move the rotation of the camera only if you hold down the right mouse button. If the right...

View Article


Turret following target

I am currently trying to have a turret follow a target. However, it is not rotating properly. ![alt text][1] As you can see, the barrel does not only rotate around the axis it should, but in the wrong...

View Article

Camera Follows 2D player

Hi, i got this script attached at my camera but the player moves faster then the camera. Here is the script attached on the camera: public float xMargin = 1f; // Distance in the x axis the player can...

View Article


Camera Following [2D]

Hello! I'm new to c# coding and I'm trying to create a script for camera, which will follow my object. I want to do that by getting my objects position and transforming camera position by it. I guess...

View Article

Sound Game (wave)

I want to create a android game where you have to follow a sound wave with your finger. Its something like Mmm fingers but you have to follow the sound wave. Like when there is a hight tone the sound...

View Article

How to make a camera follow a ball from behind? c#

Hello! Im having some problems making the camera turn with the ball. https://youtu.be/6D337xSoQV4 in the YouTube link you can see the camera is following the ball but only show it from the same angle....

View Article
Browsing all 536 articles
Browse latest View live