Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


#ActualBeerNutts

Posted 28 January 2013 - 04:31 PM

This would work for rectangle collision, but it won't give accurate results for collision vs a circle.

 

Oops, he was asking about circles and polygons.  Yes, my solution could cause problems.  I thought it was only rectangles.

 

Be careful using my solution mypel. 


#1BeerNutts

Posted 28 January 2013 - 04:29 PM

This would work for rectangle collision, but it won't give accurate results for collision vs a circle.

 

If the user was asking about collisions with objects other than rectangles, I wouldn't have suggested the method I did.  He didn't, so I gave him a simple solution (we are in "For Beginners" right?).


PARTNERS