I’m having issues with using go.property,
in this code, I have defined it as a vector3, but when I print it, it reads as nil, Am I doing something wrong
go.property
cannot be used in that way. Try something like this instead:
go.property("StartPos", vmath.vector3())
function init(self)
self.StartPos = go.get_position() / vmath.vector3(16,16,1)
...
end
4 Likes