diff --git a/Vector3.lua b/Vector3.lua index 0e7a05d..14716de 100644 --- a/Vector3.lua +++ b/Vector3.lua @@ -159,4 +159,9 @@ function Vector3:toArray() return {self.x, self.y, self.z} end +---@return Vec3Like +function Vector3:projectXZ() + return Vector3.new(self.x, 0, self.z) +end + return Vector3