Search Unity

Line Renderer World Space/Local Space 10 x difference

Discussion in 'Editor & General Support' started by Dimlos, Mar 26, 2018.

  1. Dimlos

    Dimlos

    Joined:
    Aug 13, 2014
    Posts:
    51
    Hello, I was playing around with the Line Renderer and for some reason, when un-checking Use World Space I have to multiply by 10 to get the distance I want from the object.

    So in order to have a line that is 10 meters long I have to type 100 whereas in world space it would be 100 meters long. I didn't notice that before, I'm not sure if it was there on previous versions or not.

    I can deal with that but I just wanted to ask if it was normal or not.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,300
    What's the scale on your Transform? It sounds like your points are being scaled.
     
  3. Dimlos

    Dimlos

    Joined:
    Aug 13, 2014
    Posts:
    51
    Wow, it's been several months and I realise that I missed the notification and I want to apologize.
    I don't remember on which project I had this problem.
    I didn't encounter that problem since.
    It looks like I'm "watching" this thread, but I must've missed it.
     
    Last edited: Dec 5, 2018
    karl_jones likes this.