x


Easy Line drawing

Is there an easier way to draw lines?

All i want to do is have a function in the format

DrawLine(Point1,Point2);

Its seems like constructing a linerenderer is to much overhead for just wanting to draw a straight line from point 1 to point 2.

Not to mention I dont fully understand how to use it. (despite the documentation, so please dont send links referencing it. Ive read it forward and backward)

Debug.Line would be perfect and is already set up but it doesnt display in the build.

more ▼

asked Jul 25 '11 at 06:22 PM

michael 4 gravatar image

michael 4
312 44 52 56

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

http://www.starscenesoftware.com/vectrosity.html

Then you can just do

Vector.SetLine (Color.green, point1, point2);

(Plus lots of other line-related things. One person liked the docs so much he bought another copy, no kidding.)

more ▼

answered Jul 25 '11 at 06:37 PM

Eric5h5 gravatar image

Eric5h5
80.3k 42 132 521

Just purchased it. Love it :)

Jul 28 '11 at 02:38 PM michael 4
(comments are locked)
10|3000 characters needed characters left

Not to shill too hard for @Eric5h5, but have you looked at his Vectrosity package?

edit: lol, beaten...

more ▼

answered Jul 25 '11 at 06:37 PM

Chris D gravatar image

Chris D
2.5k 5 7 25

Guess I should just have waited a few seconds. ;)

Jul 25 '11 at 06:45 PM Eric5h5

Ive been interested in this, couldnt remember the name so good info.

Jul 25 '11 at 06:49 PM michael 4
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x123
x108

asked: Jul 25 '11 at 06:22 PM

Seen: 1460 times

Last Updated: Jul 28 '11 at 02:38 PM