Objects in front of text
I have a text displayer I use as UI background. Then I have a cursor which I set the Imp to follow. My question is: When the cursor or the Imp or any other scene objects hover over the UI background, they will always be behind the background. I need them to be in the front. Is that possible?
-
You can place the text gadget 'in scene' so it has depth but it will only appear behind objects that are closer to the camera than it, you would have to manage the 'sort order' yourself by placing your UI objects in front of the gadget.
A group containing this UI background with your UI elements slightly in front can then be bolted to a sculpt that has your camera attached to it. Move this block and your UI will remain static relative to the camera.
Something I found useful was scoping into a camera, scoping out to retain the viewport and then painting some 'L' shapes at the corner of the screen. You can use these as a visible frame to position your UI without constantly referencing the camera. -
So there is not possible to make objects to be on top of UI text without having the "In Scene" checked?
That would be easer, since it automatically follows the camera. -
>So it is not possible to make objects to be on top of UI text without having the "In Scene" checked?
I don't think so, no. -
But how can I get the UI text
follow the camera? I group the
text together with the same cube I have the camera on. But when the camera follows the player, the UI text doesn't move. -
I think this will be a case of having your objects nested properly.
Are you using your own camera set up or are you using something like the Media Molecule 1st person camera?
The basic idea is that you'll want your UI elements and your camera inside the same group, then you move that *group* and not the camera.
Try making a sculpt, dropping a microchip on it with surface snap and placing your camera inside this microchip. Take your text gadget and snap it into the microchip too.
Now, when you move this block around the relative position of the text gadget to the camera should stay the same. -
I'm just experimenting a bit with a Maniac Mansion type of game, so it's a side view game but isn't the camera follow logic on the character? Because the cube with the text and the camera doesn't follow the character. I use a camera pointer BTW, not a camera.
الرجاء تسجيل الدخول لترك تعليق.