Game object with Line renderer wont move

Hi all

I am very new to Unity and right now i am in the middle of the 3d Person platformer tutorial at the Laser trap section.

So as soon as i add a Liner Renderer to my empty game object,(Component>>Effects>>Line Renderer) the object automatically moves to a different area in space and it doesn’t seem to be able to move. The position coordinates are changing when i try to move it but the object doesn’t seem to physically move.

Have i done something wrong? Any input on the matter will be greatly appreciated

Regards

1 Like

Nevermind, found that i had not disabled the Use world Space option.

8 Likes

indeed, in code you can write:

myLineRenderer.useWorldSpace =false;

4 Likes

I just had this issue, trying to make a pool game. Thank you so much!