Hey everyone,
I’m trying to create an in-game newspaper that the player can read flip through and read (Android) but am having a number of difficulties. Since I’m learning both programming (C#) and Unity at the same time, I don’t have a lot of experience with either.
The method I’ve been using is to create a template for the newspaper using Scribus, export the file into a PDF, then convert it to a JPEG. Then I simply stick the JPEG onto a page-like game object. Problem is that the texture maps to all sides of the object so when I flip the page, an inverted image of my original texture is visible. Do I need to “glue” a second object behind the first and stick the texture on there?
Or is there a simpler way to go about doing this. I have a feeling that doing it this way will cause problems later on when trying to create a system that lets players touch keywords for hints. ![]()
Thanks for your time!
What exactly is your "page like object"? You can map textures however you like via the UV mapping of the object, so if the texture is somewhere that's because the UVs of the model tell it to be there. For example, if your "page like object" is just the Unity default Cube, that has the same texture coordinates mapped to all 6 sides.
– WazWhy use a cube? Surely a page is just a plane (or rather, two planes back-to-back as you have discovered, for texturing reasons).
– WazYep, go with two planes, or one plane with normals on both sides which is basically the same of course.
– anon73820239