Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Controll the position of a texture in a mesh, where it starts where its ends

Discussion in 'General Graphics' started by Aramiku, Jun 11, 2020.

  1. Aramiku

    Aramiku

    Joined:
    Jun 11, 2020
    Posts:
    2
    How do I controll a texture when puting it in a mesh. For example, with an eye texture, how do I controll the position when applying it in a mesh of a head, I would have to know the exact position of the eye in x, y, z, and control the application of the texture, how I do this in Unity programatically and in the ispector tab?
     
  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    12,256
    This is generally something you would handle outside of Unity. Search for UV Mapping.
     
  3. Aramiku

    Aramiku

    Joined:
    Jun 11, 2020
    Posts:
    2
    But there must be a way to do it programmatically. I need it to control a texture of the world map in a sphere where I will plot points based in gps latitude and longitude.
     
    Last edited: Jun 14, 2020