Category : lua

I need help pushing Games Objects created in C++ into our Lua enviroment. this an example of what that would look like we have the following GameObjects being created in C++ class Player { public: Player(std::string pName, int ObjID) { this -> name = pName; this -> objectId = ObjID } std::string name; int objectId; ..

Read more

So what I am trying to do is implement my c++ vec3 into lua. But I have issues overwriting any value. Also I am aware that im not really using the orignal vector class. I guess there are better ways to implement this. What I want to do: Lua: testvec = vec3(17,33,-822); print(tostring(testvec.x)); // works ..

Read more