is within ... polygon shape?

Eric Chatonet eric.chatonet at sosmartsoftware.com
Fri Jun 24 10:15:47 EDT 2005


Hi Steve,

Should be fine indeed...
AFAIK yo have to run a loop.
I don't know how is your interface but you could have some invisible  
graphics to test a larger zone before a long  loop.
A kind of graphic's indexation... to speed up the process if needed :-)

Le 24 juin 05 à 15:53, Steve Bonham a écrit :

> There are many, many objects that the ball object may intersect  
> with...
> Is it possible to use a "wildcard" character in Rev?
>
> For instance, there are 3 sand bunkers (sand1, sand2, sand3) and 60 
> + trees (tree1, tree2, etc)
>
> Can I use something along the lines of :
>
> if intersect(graphic "ball", graphic "tree" & *) then
>         put "in the bunker"  into YourLie
>       end if
>
> I'm supposing this is not possible (but it sounds like a logical  
> need)-- but maybe there is another way to accomplish this?


Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        eric.chatonet at sosmartsoftware.com/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------



More information about the use-livecode mailing list