dumbo2007
Crazy about real time sims
Hi,
I was wondering if its possible to allow objects I develop in C++ such as the rover or anything else more complex to expose to LUA scripting, thus adding to the already available set of functions in LUA. Maybe expose some specific functions only that let the speed, heading etc be set. Perhaps the LUA script engine can callback these functions after properly marshaling the arguments ?
I understand that LUA can be used to set the speed, mass, orientation etc of VESSEL objects, but can its existing set of functions be added to, when I design VESSEL class derived objects that add their own functions ?
Thanks.
I was wondering if its possible to allow objects I develop in C++ such as the rover or anything else more complex to expose to LUA scripting, thus adding to the already available set of functions in LUA. Maybe expose some specific functions only that let the speed, heading etc be set. Perhaps the LUA script engine can callback these functions after properly marshaling the arguments ?
I understand that LUA can be used to set the speed, mass, orientation etc of VESSEL objects, but can its existing set of functions be added to, when I design VESSEL class derived objects that add their own functions ?
Thanks.
Last edited: