Sprite to Line Collision

Posted by Alu on Stack Overflow See other posts from Stack Overflow or by Alu
Published on 2010-04-17T16:20:10Z Indexed on 2010/04/17 16:23 UTC
Read the original article Hit count: 281

Filed under:
|

If I have a sprite, how would I check collision between two points? For example, in a game I am making, I would like to draw multiple lines that my sprite collides against. I'm thinking that this is more flexible than other collision systems if I had a lot of platforms.

© Stack Overflow or respective owner

Related posts about XNA

Related posts about collision-detection