Fixed a bug in the colliding condition.
Added double animation implementation.