There has got to be a more modular way to do per-pixel collision than the XNA sample, right? http://pastebin.com/a90TfbJm
-
-
@DaveVoyles But there's other ways to check if they're touching. You can perform circle-rectangle checks, whatever you want to detect it. -
@DiscordJames right, where it's only looking for the difference between the circle within the rectangle, and pays no attention to corners - Show replies
New conversation -
-
-
@DaveVoyles Say you had Pac-Man and a power pellet. You'd use speheres for them and every frame check if Pacs sphere overlaps with a pellet.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles In the end, collisions are brute force. You gotta check everything against everything else (unless you use broadphase).Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.