Page 1 of 1

How to draw a (stretchy) line between two markers with Unity

Posted: Wed May 04, 2016 5:15 pm
by gizmo
In this tutorial you will learn how to draw a line between two markers with Unity and you will gain a deeper understanding of the ARTrackedObject script. Also you will learn how to put two markers and their coordinate system into relation to get the start and end point for the line.

http://artoolkit.org/blog/2016/05/two-markers-unity

Please write your feedback below

Thank you very much :mrgreen:

Re: How to draw a (stretchy) line between two markers with Unity

Posted: Wed Jan 11, 2017 1:51 am
by zforgo
Hi,

Thanks for the tutorial.
I made your steps, but with some changes to draw a line between (0,0,0) and the marker. Now the line is OK, but my camera moves and rotates as I move the marker. Have you any clue about the reason?

Thanks in advance,
Zoltan

Re: How to draw a (stretchy) line between two markers with Unity

Posted: Mon Jan 30, 2017 2:55 pm
by gizmo
Hi,

glad that you liked the tutorial. Out of the blue I don't know why your camera is moving and rotating. But if you can share your project then I can certainly have a look at it.

Cheers

Re: How to draw a (stretchy) line between two markers with Unity

Posted: Sun Mar 19, 2017 8:30 pm
by ntclick
Thanks for your sharing. This is a problem I've been looking for a long time ago.