Skip to content

Distance between Background and Camera #2

@dennzy

Description

@dennzy

Hello Mr. Ferreira,

thank you very much for providing this script. It is really easy to use and very well documented for beginners like me. The only issue I have is that I can't control the distance between the drawn Quad and the Camera. When I start the Scene all Objects with a negative Z position are "behind" the background and unfortunately I rely on this in my project. I tried change the Vertex values in the CreateQuadMesh() method but it seems as the actual position is set somewhere else? Since I'm not an experienced programmer I'm guessing on the .DrawMesh function. But I'm confused by the Matrix4x4.identity thing.

Maybe it would be possible to implement a public variable that lets the user manually control the distance? I'm sure this could be a usefull feature for other users aswell. Again thanks for providing this script and if you could give me a little hint how to add an offset on the Z axis I would be very gratefull.

Best regards

D.H.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions