How To Detect Div Collision In My Case?
I want to detect the div collision when user drag their mouse. I have something like ![](drag)
And a Demo
Solution 2:
First of all take look at : Please recommend a JQuery plugin that handles collision detection for draggable elements
But if you want to implement it by yourself , You have to look up Separating Axis Theorem: Hyperplane separation theorem Furthermore you can use Javascript game engine for jQuery by the following link : Javascript game engine for jQuery
Post a Comment for "How To Detect Div Collision In My Case?"