__add not working in custom Vector3 class
Advertisements I am making a custom Vector3 class for a 3D engine I am making. I am kinda new to lua and not at the stage I should be making a 3D engine, but who cares. My Vector3 script looks like this. #Vector3.lua function Vector3(x,y,z) end Vector3 = { __add = function(a,b) return Vector3( a.x… Read More __add not working in custom Vector3 class