Geri-Borbas/Unity.Library.eppz.Lines

DrawLine should use Vector3 as well

Closed this issue · 3 comments

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.

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.

Done :)

Thanks. Just merged! 🎉