Overlay an object like you can with text boxes?
Is there anyway to spawn a object and overlay it. So no matter where you are or where you’re looking the object is always on the screen on the center. You can do this with textboxes, but can you do it with an object?
-
Not well. There are no HUD tools, but you can kind of rig one up.
I've only done it with Mm's FPS rig, but the concept can be applied to anything.
Take a tag and stick it in the same microchip as the camera. Press X on the tag and it'll display a little ball with a line corresponding to each axis. Put that where you want it to show up and then stick a teleporter on the HUD element that teleports to your tag.
After that it's just a bunch of fine-tuning to get it in the right spot on the screen.
Little disclaimer: this works best on something like the fps puppet where there's a camera rig independent of the puppet's default camera. You'll notice a small amount of jitter using a rig, but if you stick it straight on the puppet, your HUD is going to be flying all over the place.
If you really want to make it clean, playtest the hell out of your level and add invisible walls anywhere that might cause clipping issues with the hud.
Oh and dont forget to disable collision on any HUD elements lol -
Thanks! I wish there was a smoother way to do this. Something like being able to sketch in the text box.
Please sign in to leave a comment.