Jump to content

Collision detection on angled areas...


AdamRyanGameDev
 Share

Recommended Posts

I am having some problems with a game where players enter safe and danger zones... some of these areas have sprites that are angled (rotated) but appear to fire collision when the 'character' sprite collides with their total X Y rectangle space (ie minXpoint to maxXpoint, minYpoint to maxYpoint)[imagine an angled rectangle pushing out its boundaries by its 4 corners] would this be right? Or am I having other issues?

TO counter act i guess I will have to create n number of collision boxes (sides parallel to X-Y axe) overlapping along angleX.

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...