How to create collision detector?
I have to made a form where I move the initial image icon around, very smoothly. My teacher said I have to use collision detector. So, somebody help me in how to create collision detector?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


FroglegRank #1,020 · 1.9K reputationPosted Apr 3, 2011, 11:19 PM EDT
Raj KumarRank #25 · 44.2K reputationPosted Apr 4, 2011, 12:07 AM EDT
A couple of suggestions, both of which may require you to change the type of objects/controls to support what you are trying to do:
1) http://physicshelper.codeplex.com/ This supports collision detection
2) Google "Silverlight hittest" - you'll find lots of entries that MAY help you out.
3) There is a HitTest method for Stroke and StrokeCollection. Not sure if you can take advantage of them.