What we need here is circle intersect ellipse routine. Anybody have one??
I am sure that AI would have something but can you get it to work?
Circle intersect circle, in my eyes, is so much easier that I used a whole string of circles to detect where the ball contacts the flipper. The ball going so fast one way and the flipper could be going the opposite the ball could jump right past the flipper without detection, ugly! Ha like the flipper was a hologram and not material.
I would focus on that one aspect, get that fixed and working like I did with flipper work here in WIP board. Literally forget the bells and whistles concentrate on flippers kicking the ball back correctly.
Good job getting the ellipsii to act as flipper, just need that collision detection!
Oh BTW you could probably Paint the interior of the flippers so they look solid.
I am sure that AI would have something but can you get it to work?
Circle intersect circle, in my eyes, is so much easier that I used a whole string of circles to detect where the ball contacts the flipper. The ball going so fast one way and the flipper could be going the opposite the ball could jump right past the flipper without detection, ugly! Ha like the flipper was a hologram and not material.
I would focus on that one aspect, get that fixed and working like I did with flipper work here in WIP board. Literally forget the bells and whistles concentrate on flippers kicking the ball back correctly.
Good job getting the ellipsii to act as flipper, just need that collision detection!
Oh BTW you could probably Paint the interior of the flippers so they look solid.
b = b + ...