Jump to content

Collision detection - triangle


Jirka1111
 Share

Recommended Posts

So maybe will be better just using rectangles instead of triangles? I am developing Dont touch the spikes on my own.

 

EDIT: Is there an option which gives me ability to define size of the collision object? I mean, I have 30x30 px object sprite but I want to check collision from center to 10 px (so object's bottom right corner is not at 30,30 position but 20,20?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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