Schroedingers-Hat/jsphys — Issue #127: Use smarter algorithm to match objects to clicks
Author: capnrefsmmat
Created: 2012-01-30 05:04:01+00:00
State: open

Currently we just look for any object whose center of mass is nearby; however, this doesn't account for extendedObjects which may have large spatial extents or irregular shapes, and won't handle 3D view very well. We should devise a better algorithm. I expect there's some clever algorithm already in existence, so we'll just have to find one.