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

Orthographic (Birds-Eye View/Top-Down) Player Follow Script w/ Smoothing

To put it simply, I'm very much hoping someone can quickly write up a fairly simple follow script (with dampening). I've opened approximately forty seven links from *the Google machine* and...

View Article


Camera dont move whit Smooth Follow 2D

Im try use the Script of this post in my project(http://answers.unity3d.com/questions/29183/2d-camera-smooth-follow.html) in C#, but when i add in my project and add my Target dont happen anything, i...

View Article


Animation Stops Unexpected. (Script included)

I am trying to code a script that allows a secondary character to follow my player controlled character. She follows fine, but whenever I say to play "walk" animation while following she stops the...

View Article

GUI follow enemy object

The above says it all. I am looking to have a GUI above a enemy object, so that my character camera can see enemies from far away. I am relatively new to working with the GUI functions so could someone...

View Article

Camera follow object when it reaches edge

I'm struggling to figure out how to actually implement what I'm wanting to do and was wondering if anyone could help. I have an Orthoscopic Camera and a Rigidbody. The Rigidbody will get launched to...

View Article


Shaky player effect when I apply a damping camera follow script?

I stumbled across this script on Unity answers, and I decided to stick it on rather than just make the camera a child object of the player. It works perfectly, except when the player is moving it makes...

View Article

C# Online help

i have a simple online script that spawn the cube when the player creat the online server and when other players join now what i want the cube to do is after spawn find the player tagged player and...

View Article

GameObject follow mouse?

Hi! I want to move my gameobject with the mouse. Can you tell me the way to do that? Please attach the example script (in C#).

View Article


How can I make the AI in my game wait in lines?

1. Hello I am making a 2.5D isometric restaurant management game where the player controls the inner working of their own restaurant. What I am having trouble doing and finding information about is...

View Article


Camera script

Hi, I would like the camera to follow the player. So far I have kind of made it work, but only to an extent; the camera does not follow the player while jumping and "lags" behind the player for most...

View Article

ortographic camera smooth follow with zoom

at http://answers.unity3d.com/questions/29183/2d-camera-smooth-follow.html i found pretty simplet and really nice working script for camera follow var dampTime : float = 0.3; //offset from the viewport...

View Article

Need help making a camera follow script. PLEASE HELP!

Im making a 2d scroller, that follows the player vertically. I want to make a script so the camera follows the player vertically but not right and left. Can someone please give me a C# script for this....

View Article

2D Camera follow player up but not down

Hey everyone. I'm using the code from the Unity 2D game example tutorial for my camera movement. Right now it follow the character in any direction. What I want is that if my character moves up in the...

View Article


How can I make a button follow the menu it's attached to?

Hello I am working on a game that has a small form factor menu that slides out when the player presses it. The menu has a set of 3 buttons that when pressed, will collapse themselves and make room for...

View Article

How do i make my character in my game follow a path like in temple run

im making a simple game where a ball has to jump threw a hoop and i want the ball (which is the player) to stay on a path so that if the ball hits an object it wont go out of bounds of the road. any...

View Article


how make this script follow a target.

Hi and good night or day :) Please i need to know how I can make this script follow a target. /* Touch Orbit Programmed by: Randal J. Phillips (Caliber Mengsk) Original Creation Date: 12/16/2011 Last...

View Article

Move the world or the obstacles?

Here is a question. (concerning and infinite side-scroller.. yes another one). Currently the only thing that truly moves, is my player. Of course the whole world moves with it. Everything except for...

View Article


Maintain x axis distance between a 2d rigidbody and mouse

Hey guys, I'm trying to make it so that when the mouse is clicked and held, that the initial distance in the x axis between the 2d rigidbody and the mouse is maintained when the mouse is moved. This 2d...

View Article

My following enemy AI tilt back as they get near.

I am making a game while I learn and I have a simple script where AI "zombies" spawn and make their way towards me. Everything is working just how it should so far except as they get close to me they...

View Article

How to get the ground position near the gameObject clicked?

Hello. I have the Player prefab, which have some movement controls, in the RTS Style. Something really close the diablo 3. The mobs prefabs are clickable. So, when the player click the mob, it "starts"...

View Article
Browsing all 536 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>