attackOrigin also changed from float2 to int2.