Hi Forum,
I was using the "intersect(object1, object2)" function where one object was a circle (oval) and the other rectangle. I have noticed that it flags intersection when the rectangle corner is not in the circle but in the square which bounds the circle. It seems that the only way out is to use "within" to check each corner of the rectangle. Is there any better way of doing this.
Regards,
Vladimir
intersect function
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: intersect function
Hi Vladimir,
Nope, I can't think of a better way of doing this. I had the same problem recently. If you have found a better way yourself, meanwhile, I'd be very interested.
Best,
Mark
Nope, I can't think of a better way of doing this. I had the same problem recently. If you have found a better way yourself, meanwhile, I'd be very interested.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode