Testing animation and collision