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

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

Let Click go through GUI

I must be the first person to ask this, since I only see people asking the opposite... I'm drawing my GUI this way: function OnGUI() { GUILayout.BeginArea (Rect(posX, posY, szX, szY)); GUI.Box(Rect(0,...

View Article

3D Text not visible through texture2D (behind it).

Hey guys I have a bit of a problem. Basically I have a texture that is set to cover my full screen on start up. This is perfectly fine and does what I want (fills the screen no matter how much you...

View Article

Find what object is ahead of other

I have two game objects heading in relatively the same direction. How can I figure out which one is in front and which is behind? For example, if you look at the image, B would be considered behind and...

View Article


Particles are rendered in front of tree billboards

I have searched thoroughly and have been able to find a solution that draws particles correctly relative to tree billboards. One suggestion was to set the renderQueue for the particle materials to...

View Article

Mirror a Vector3

I want my Enemy to teleport behind me when i look at him, so it's like an ambush or something else. I tried to "mirror" my vector3 with the FirstPersonController as center, but it didn't worked. Does...

View Article


Third person camera and Object

Hi all. i have a question for my rpg game. If i use Third person camera, and the charater are example in wall. The player can see behind wall. how can I avoid that the camera does not pass through the...

View Article

GUI behind Camera - WorldToScreenPoint

Hey there, I'm having a rather pesky problem and I just can't figure out how to fix it: I'm drawing labels 'over' objects in 3D Space using GUI.Box and...

View Article


Object follow behind other object, wont stop spinning

I want to keep the yellow square in the same position relative to the purple box. So in this case to keep behind it, and it works. But the yellow square wont stop spinning around it's own Y axis...

View Article

Texture behind button

I'm using a button that use texture with same dimension. When I make rollover the texture remain in front of button. There is a way to put texture behind button and have right effects?

View Article

Transparent faces renders behind non-transparent. WTF?

I'm making game in PSX/N64 style as challenge to myself (*totally* unrelated to that I suck as modeler combined with me wanting all my own artwork) so I'm limited with vertex amount I can use per...

View Article
Browsing all 97 articles
Browse latest View live


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