[SOLVED] Out of Screen UI

Hey guys!
I was wondering if someone could tell me what would the best way to make a out of screen UI, like a intractable computer in a 3D game (first person), something done like in Doom 3 for example.
I’ve been doing pretty well in scripting so far, and I think I won’t be much of a problem, however I have no idea if there’s something that can accomplish what I intend.
Thanks to everyone in advance!

Can you elaborate on what you mean by “out of screen” UI? Screenshot or some other example.

1 Like

Like I said, something like in Doom3, screenshot bellow:
It’s kind of hard to explain by words but I guess the sceenshot should help.
My project is a 3D first person game, and I wanted to create UI and menus out of screen (or more correct description would be out of canvas, I don’t know).
In case you haven’t played Doom3 it’s in first person, and as you can see you can interact with computers like shown bellow, the mouse in the computer screen is the player’s mouse and the player can move it around the computer, when the player’s mouse moves out of the monitor screen the crosshair reapers.
My question is how could I accomplish something like this, if there is a way to put UI in a Game Object like seen bellow, te player can for example click the Download button and X will happen.
Thank you for your time!

Can’t say for sure, but have you tried a world space canvas setup with some text + a button? Just as a prototype to see if that works?

1 Like

Right, yes, a WorldSpace canvas would work for that style.
I’d call it more like an “Interactable computer screen” style.

In short you have two approaches, depending on what you want to do.

B: A static texture on the screen until the player approaches it, then swap out and zoom in for a Screen Space Camera UI

B: Full world space canvas placed on the model, using the FPS camera as the event camera. Although you could experiment with switching cameras when you get close.

Hope that helps.

2 Likes

I’ve checked briefly the World Space Canvas and it seems to be exactly what I’ve had in mind! Thank you, I’m gonna try it with my colleague and if we have any further question I’ll put it up. Thank yo both for your help!

1 Like

Cool, you’re welcome. Good luck :slight_smile:

2 Likes