2d camera follow player by looking ahead.
I have created smooth camera follow script which tracks player in the x axis. Now i'm trying to figure out how to make the camera look ahead of the player. This is what i got so far: using UnityEngine;...
View Articlemake enemy only follow along the X and Z axis
currently I have this script which makes my enemy move towards me and attack me when he in a surtain distance away from the player but when He gets that close first he stards to rotate like he is...
View Articlehow can terrain follows randomly generated gameobjects?
![alt text][1] [1]: /storage/temp/74755-terrain.jpg
View ArticleMove enemy towards player if enemy is in Camera bounds.
Hey, it is my first question here and I did some research before asking, but if I missed something I am so sorry. I will get to the point : I have script that makes Enemy move towards my Player (it is...
View ArticleHow do I make the enemy ai stop following the player in the scene properly on...
I have the enemy ai following the play and I nav mesh set to stop in the inspector . The problem is the enemy ai is still following the player regardless if its dead or alive . I want the enemy ai to...
View Articleadvanced Camera follower
Hi Plz help.It is so important for me. This game is 3D I want that my camera follows my car. My camera is side like drag racing game and my car can move in y and z direction.(Hill Climbing game) I know...
View ArticleMake character follow mouse
Hi! I am making a space exploration game with upside down camera view, and i wanted help in making the character follow the mouse. I don't know what to use because i never used mouse for anything...
View ArticleMy model is shaking
Hello, I am making a game with an airplane but he is shaking (or the cam). This is my smooth follow cam: this.transform.rotation = Quaternion.Lerp(transform.rotation, Target.transform.rotation,...
View ArticleBouncing Ray Follow...
**First post ever so please excuse any lack of protocols.** I've remade the code in several versions so I wouldn't know which to post to show my code. So let's stick with conceptual solutions for now....
View ArticleMove Camera with Mouse and/or Touch in a 3D open space world. How?
My team of 4 and I are making a 3D Space Unity project of a solar system. My job is the Designer. I want to move the camera by mouse, rotate around a planet, and zoom in/out with scroll. I had learn...
View ArticleMaking a character walk on curved surface
Hi, I have a game idea, where I want a player to be able to walk on a certain shape called a mobius band (Sorry I can't attach a picture, please look it up, and you will have a much better idea what I...
View ArticleHow 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 ArticleTrying to detect close units of other team and then follow them.
My code wont work and i cant figure out why. My list get filled with alot more gameobject then it should be filled with. My target2 variable never gets assigned wich prevents my follow code from...
View ArticleVirtual Joystick Active follow the finger position???
Hi I'm Newbie in Programing.I Have Virtual Joystick Made from C#. The Problem is I want the Joystick is follow My Finger Touch.My Finger in position like (10,10) so the joystick its in the center and I...
View ArticleIs there a way to make a follow script without NavMesh?
Is there a way to make a character move towards the player, exactly like Nav but not since Nav [breaks my game?][1] Can you post the script please? [1]:...
View ArticleHow to link a follow script to the existing ThirdPersonCharacter animator
I'm trying to link a character's follow script to the existing ThirdPersonCharacter (Ethan) animator, but the animation doesn't play. I get no errors. Here is the current script, I used part of a...
View ArticleHow do I find another prefab based off a numerical variable? [2D, C#]
Hey, So I have a 2D scene where you can control a ball and make it jump, etc. I want to have 5 other balls trailing it in a line (like a snake), evenly spaced, and when you stop, the trailing balls, I...
View ArticleQuestion about having a Rigidbody follow another GameObject via forces.
_disclaimer_: I'm extremely new to Unity (second week) Hey guys, as an intro to the physics system of Unity, i'm making a sword fighting game. I've got most systems i'm trying to build working, but i'm...
View ArticleHow to make player go to and eat all food objects on the screen
I've been trying to make a 2D game recently where the player moves around the screen and eat all the food objects that appear. This means he moves to the closest food object, eats it, and then move on...
View ArticleEnemy AI script for 2D platformer
Hello! I'm trying to make a 2D platformer game and I wish to add an AI function to the game. The problem is that I don't really know how to make it work. The AI is supposed to have the same functions...
View Article