Camera rotation around player while following.
I'm trying to achieve a camera that follows and rotates around the player while allowing the player to do things like rotate in C#. This means that the player and camera need to rotate separately, but...
View ArticleRepair my script plz
I want to make a pet follows the character var player:CharacterController ; var chaseDistance : float = 15.0; var damping:float = 2.0; var mouveSpeed:float=5.0; function Update () { var distance...
View ArticleRotate Object to face player 2d
I'm making a 2D platformer , but i have a problem making the enemy face the player. I was able to make the main character face left or right by rotating its plane mesh 180 so its in reverse depending...
View ArticleHow do I get a script to make a character or object follow your player?
This script that I am talking about is a script where you add too a certain object/player and they automatically follow the target you requested them to follow.
View ArticleRotate camera around player
I'm trying to get my camera to rotate around my player on a button press however I've only been able to get it to rotate on its own axis and not around the players position. Any ideas how I'd go about...
View ArticleGUI Follow RaycastHit
Hello, Is it possible for a 2D GUI "Reticle" to follow a 3D RaycastHit point. Kind of the same way World Of Tanks achieves there "Where turret is looking a GUI will follow" Thanks. EDIT: At the moment...
View ArticleGetting Camera to follow falling Dominoes
Hi! Im doing a game in Unity where the user is allowed to place down dominoes and knock them over. When the player does this I want a camera that follows the dominoes as they are falling down, however...
View ArticleMaking the camera follow the player at any rotation
I'm making a 2D space exploration game. I have some simple code within the player script for the camera to follow the player when they are nearing the edge of the screen: if (cam.transform.position.y...
View Articlecamera goes through walls n objects etc
hey guys i have this feature where i pull out a tablet that shows a screen which projects what a camera is looking at, aka a target texture. but the camera is going through walls and objects, my main...
View ArticleIn camera follow script, the camera doesn't look "forward"
Hello, im making an android game, all the scripts for camera follow i used, all gave this result: ![http://s3.postimg.org/ernq6xxhv/screenshot_1230.png][1] [1]:...
View ArticleGameobjects move towards a moving object c#
I'm trying to get the following gameobjects to move towards another (my player), the only problem is with the following code, they only move towards its starting position. Where as I want them to be...
View ArticleHow to assign a transform object to Prefab ?
Hello Developers, I've got a problem right here. I've got 2 spaceships and their AI script. I can't assign my game object to theese scripts. I think that's because of i used "Transform" method. But...
View ArticleWhy is my character in the Mecanim Follow Example scene floating?
Hi all! I don't seem to be picking up Mecanim too easily. I've watched a lot of the tutorials that are about and get on ok with the stock characters that they reference but when trying to use the...
View ArticleLerp toward object while keeping a constant speed
Hello everyone, Am trying to make a "following effect", something like homing missles, i tried to use both Slerp and Lerp but am always facing the same problem which is the acceleration loss at some...
View ArticleForcing player to slowly look at something
I have a sphere that moves from one point to another. The player loads with their back to it. I want the player to be forced to slowly turn around and face the object, and`enter code here` stay looking...
View ArticleA problem with an object following a player and camera?
So there is a player and a droid and a camera in the scene. The player is moved with fixed update (because it has physics) The camera is moving with lateupdate (Using transform.position of the player...
View ArticleHow to properly set up Damping on SpaceShip camera follow script.
I am trying to get my ShipFloowScript set up correctly . I am able to get it to follow my ship in a very basic way but. I am attempting to create a script that will smoothly follow my ship while making...
View Article[meta] How do you 'follow a topic'?
In email notifications I can get email notifications of 'topics I follow' but how do I specify which topics I want to follow?
View ArticleHow to make one game object follow another?
I'm making a game where you are in a car and other cars can follow your car. If I use a simple script where the car faces your car and just moves forward, that car will go through buildings and stuff...
View ArticleHow do I get a script to make a character or object follow your player?
This script that I am talking about is a script where you add too a certain object/player and they automatically follow the target you requested them to follow.
View Article