开发者

AS3: Line of Sight

How to开发者_Go百科 check whether the object(s) between the point and the object?

AS3: Line of Sight


found this. Looks very good -

http://www.baconandgames.com/2010/02/22/intersection-of-an-ellipse-and-a-line-in-as3/


Have you tried adding a sprite, drawing an invisible line (or cone) between the point and the object, and running a hit test?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜