Still Moving Designs © 2010 - 2017 • Contact: ra@rariora.org


»

Collision Detection




Controls: Mouse tracking. Click to return target object to center of window.

Description: Very rudimentary collision detection exercise. Boundaries between two graphic elements are registered, as well as the walls of the window. There is some imperfect behavior near the walls that I'll need to go back and solve someday.

Code: Click here.