In my problem, I have a car and multiple obstacle polyshape objects, and I want to determine if the car is overlapping only one of the obstacles. I found out that the `overlaps` command is very expensive, perhaps because it also checks if the obstacles overlap each other (a check that I don't need!)
if I do something like:
table = overlaps([car obstacle3 obstacle2])
I will get a matrix that shows me all of the possible overlaps with those 3 shapes.
I'm looking for a simple solution that will give me a true or false value - if the car object overlaps one of the obstacles (or more).
Thanks in advance!