Closed
Description
Expected Behavior
The isTouchingDrawables
and isTouchingColor
functions should update the target drawable's silhouette and inverse matrix, as they require them to be up-to-date in the first place.
Actual Behavior
Those functions currently rely on the _touchingBounds
function updating those properties on the target drawable. _touchingBounds
is called by _candidatesTouching
which in turn is called by isTouchingDrawables
and isTouchingColor
.
Since _touchingBounds
doesn't require those properties to be up-to-date itself, it could be changed in the future to stop updating them, which would break "touching color" and "touching sprite" as they rely on it doing so.