Hello Brian,
If your game is 2D, or at least you hit-test 2D projections, you can create
regions for two entities you are going to check for a collision and then
intersect these regions. Then check whether the resultant region is
non-empty and if it is, you've got the collision, otherwise there was no
collision.
--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx
"Brian" <br************@gmail.com> wrote in message
news:c2************************@posting.google.com ...
Hello all,
Anyone got links to some examples of using Region and/or
Region.Intersect in a graphical / gaming enviroment?
Am investigating into using it for hit-lines in my game.
Brian