@DaveVoyles What are you trying to accomplish?
There has got to be a more modular way to do per-pixel collision than the XNA sample, right? http://pastebin.com/a90TfbJm
-
-
-
@DiscordJames per-pixel for my ball, as it is rounded so regular box collision doesn't work well. - Show replies
New conversation -
-
-
@DaveVoyles Why do you need per pixel collision? -
@DominikSchinner because the ball is round, so box collision isn't working well - Show replies
New conversation -
-
-
@DaveVoyles Your pastebin omits the IntersectPixels function, which appears to be the crux of this. -
@AMU_Games Sorry, this one has all of it http://pastebin.com/rWYd3pff
End of conversation
New conversation -
-
-
@nickgravelyn That might be what I end up doing
-
@DaveVoyles @nickgravelyn I'd highly recommend against that. Don't use physics engines to solve your movement and collision problems.
End of conversation
New conversation -
-
-
@ManoDestra@DiscordJames Let me take a gander nowThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@ManoDestra@DaveVoyles It looked like that code he was looking at checks the bounding boxes first, then went per pixel if needed.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.