DrawLine should use Vector3 as well
Closed this issue · 3 comments
KornelGM commented
Hi,
DrawLine
uses Vector2
and because of this it does not work for me (I tried to visualize AddForce
). Changing both parameters to Vector3
fixed the issue.
Geri-Borbas commented
Yap, thanks for pointing out. I made this mainly to debug eppz! Geometry, so it is mostly 2D. Still, there are methods where z
coordinate is omitted, see drawing methods in LineRendererBase#Drawing methods
.
You may create a PR with the changes, so I could merge the changes.
KornelGM commented
Done :)
Geri-Borbas commented
Thanks. Just merged! 🎉