Question by
Just42s · Dec 18, 2016 at 11:29 AM ·
collision2dline rendererline drawing
How to add 2D object collision to a drawn line?
Hello dear Unity community,
I am a complete newbie here! I was wondering how could I make this drawn line collide not only with itself but other 2D objects.
The "drawn line" I am talking about: https://www.youtube.com/watch?v=eGetQbsifnA
Could anyone help me? Thank you very much!
Code: http://www.theappguruz.com/blog/draw-line-mouse-move-detect-line-collision-unity2d-unity3d
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612102929im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to use a line to aim in Unity3D? 0 Answers
line render some lines not visible 2 Answers
Line Renderer issue 0 Answers
Drawing line on UI and transform it 3d line 0 Answers
How to slowly render a line through multiple points in a list? 0 Answers