Not able to modify C++ object passed as parameter to Lua function
I have been working on SDL2 2D Game Engine for several years now. Just ditched inheritance approach to define game entities with composition approach where I have Entity class and it has vector of Component classes and recently I got into lua, because I want to define entities using Lua table with optional callback functions.… Read More Not able to modify C++ object passed as parameter to Lua function