This commit is contained in:
Entarno54 2025-05-29 20:35:28 +07:00
parent 58d8f44f9e
commit 36b735f6be

View File

@ -17,7 +17,7 @@ local Sprites = {}
local Rects = {}
function Vector2:Lerp(newVector2, position)
return module.Vector2(myMath.lerp(self.x, newVector2.x, position), myMath.lerp(self.x, newVector2.x, position))
return module.Vector2(myMath.lerp(self.x, newVector2.x, position), myMath.lerp(self.y, newVector2.y, position))
end
function Vector2:Get()