Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#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