At 11:18 PM -0500 12/4/01, Luke Wigley wrote: >> What if the line were actually a long, skinny rectangle? Then you could simply >> use the director "intersects" function. >> >> --Randal > > >Unfortunately, the line isn't horizontal or vertical - and the bounding rect >of the diagonal line can overlap the target rect without the line actually >intersecting the target rect. But I think I've got the problem sorted >[insert cockney accent]... I'm sure maths was never this hard at high school
In http://www.director-online.com/accessArticle.cfm?id=848 Gary notes that you can solve the collision of rects problem if you set the ink of the sprite to matte, and you should be able to rotate the skinny line. Seems like a nice, simple solution... --Randal [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
