View Single Post
  #9  
Old 08-20-2009, 09:36 AM
Chrissy2009 Chrissy2009 is offline
Member
 
Join Date: May 2009
Posts: 33
Oh yes, thanks a lot!

If I draw one line, it works fine.
If I draw one line and afterthat I draw a second one it works fine, too.

But:
If I draw the two lines and turn this lines around the y-axis and afterthat I want to draw a third line from the end of the first line to the end of the second line, than it doesn't work.

I've found out, that the problem is the vizmat.AngleToPoint calculation. It works fine, if the two points are at the z-position 0. But If I turn the lines around so that the z-value is for example -0.5 then the calculation is wrong.

How can I solve this problem?

I want to draw to lines and turn this around the y-axis. And then I want to calculate the third line from the end of line1 to the end of line2.

Thanks a lot....
Reply With Quote