Search Unity

Create a list of Vector3 out of lane maker texure

Discussion in 'Scripting' started by econt, Sep 11, 2019.

  1. econt

    econt

    Joined:
    Apr 8, 2019
    Posts:
    52
    Hi,

    I want to create a list of vector3 which is automaticly generated out of a lane texure (long white line).
    How could be the solution?

    Thanks in advance
     
  2. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,775
    What does this even mean? What does the texture look like? What do you want the resulting Vector3's to look like? Are they in the space of the texture, in world space, what? Why do you think this needs to come from the texture - surely it would be far easier to go the other way around, and even if not, surely whatever creates the lane texture already has this data?