Quantcast
Channel: Questions in topic: "behind"
Browsing all 97 articles
Browse latest View live
↧

Camera that sits behind player

Hi Everyone, I'm trying to find a way to have a camera follow the player but sit behind them whilst able to rotate with the player. Dragon Age style camera wouldn't be too far from the mark.. So far,...

View Article


Destroy GameObject behind the Main Camera

Hi guys, I made 1 straight road where the character with Main Camera moves only forward. What I'm trying to do is to destroy all the objects behind the Main Camera without using Occlusion Culling....

View Article


Hide GUIText when GameObject is behind Camera

How would you go about hiding the GUI text when the GameObject is behind the main Camera? Here's an example. ![alt text][1] The temp S button on the bottom right enables and disables the object names,...

View Article

Disable behind button zone

I'm doing RTS game type , I have buttons to select what kind of soldier you want, then you must click in the terrain to spawn. My problem is when I click in the button, it spawns behind the button like...

View Article

How to make additive-shaded particles appear behind sprites?

I have particles emitter located behind some sprites and with a layer set also to be behind of sprites. If i choice diffuse shader for particles everything goes right but whenever I set any shader with...

View Article


3D Text Component hide from behind

Hi, Is there a way to hide a 3D Text Component that is in "air" when the user look from behind? I'm not talking to hide when is behind an element like here:...

View Article

Disable GUI Buttons behind other GUI

I have a menu with different GUI Buttons, but when the menu scene is loaded, there will be show up a window in the centre of the screen. With a button to close the window. No my problem is, if the...

View Article

Unity 5.0.1, GUI text always displays behind game objects

Just updated to the newest version on Unity. I've just started working on a 2D project. I've been trying to add some GUI text but it always displays behind the game objects. After adding the new GUI...

View Article


Certain Materials visible behind objects

Hello, I want my character visible (with some kind of color modification) behind objects so I wrote a shader with ZTest Greater and ZTest LEqual. It works but the problem is that my character is made...

View Article


My clone objects behind background

Okay basically I have two canvas's one which is my menu canvas (which is not the problem ) the other is my background canvas (which is ) I have clone objects that moves in and out of my 2d game but...

View Article

Text component behind sprite

Hello! I am having problems with the Text component. ![alt text][1] [1]: /storage/temp/57937-unityanswers.jpg I'm not sure why, but the text seems to be below the sprite. Any help would be appreciated!...

View Article

Rotate around an object to its direction of velocity (C#)

Right now I am working on a 3D camera that is orbiting horizontally around the player. The player is a RigidBody rolling sphere. The player can freely rotate the axis horizontally but when there is no...

View Article

Camera Follow Behind A Rolling Ball

I have a player that consists of a standard Unity 3D sphere, with a rigidbody, and a robot/player that sits on top of that ball. The ball rolls and the player follows. The player on top rotates left or...

View Article


How to make ui on top of other ui

Hello! I am having a problem with the position of UI. I have an inventory system. And i am using a grid layout to organize slots. And i am parenting "Item" game objects to the slots. And. When i drag...

View Article

Is there a way to do this effect/shader?

hi all, i'm trying to do this kind of shader, some kind of blending to background without rendering any object behind the one with this shader, is this possible? i put some screenshots of the effect i...

View Article


Objects are drawn behind others

Greetings, I use a second camera to draw certain objects on top of others such as guns and bullet marks to prevent them from going through the wall and to prevent z-fighting issues. It works well and...

View Article

Drawing line behind character

Hey, how do you draw a line behind the character. There should be a line on the floor so you can see where your character moved along. Thanks in advance.

View Article


Issue with Enemy reticles

Okay this is a bit difficult to explain, But I've got two issues happening in this scene. I have two viewports, one for player 1 and one for player 2. Within each player, I have a reticle that follows...

View Article

call in script if enemy comes from behind or from front

hi! i want in a game my enemy (navmeshagent) to come towards me if he is 65 units away from me and in front of the camera. but if he comes from behind, he should just pass me by. i do not know how to...

View Article

Gun lag behind camera

I know there have been many questions and answers to this but non of them actually achieve what I'm trying to do. How can I make my gun (without animations) to lag behind the camera, like it takes my...

View Article
Browsing all 97 articles
Browse latest View live


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