I just now realized that vmath.vector3 passed by references. and because of that i had some bug. (sorry in unity vector3 is a struct and i didn’t thought about it =))
So is this ok to have something like
function func(position)
position_param = vmath.vector3(position)
....
end
otherwise i can forget especially later when i’ll return to this code in couple of weeks where I don’t need to touch some values.