02-01-2014, 07:52 AM
The error message says that the function doesn't exist. Did you re-generate the bindings after marking the function as "// tolua_export"?
You could make two MoveToPosition() functions, one taking Vector3d, the other taking Vector3f, and export both. Both C++ and tolua know how to handle that.
You could make two MoveToPosition() functions, one taking Vector3d, the other taking Vector3f, and export both. Both C++ and tolua know how to handle that.