I'm doing this: http://www.angelcode.com/angelscript/sdk/docs/manual/doc_adv_inheritappclass.html And I need to be able to return a pointer to the script class from a call to a native function, (e.g. getting an object in proximity to the one that called the method). But i can't figure out how to do this, I keep getting the error: "Identifier 'GameObject' is not a data type in global namespace"
I tried registering all the native methods except the ones that return pointers to script classes, the registering those script classes, then registering the remaining native methods, but that doesn't change the error.
What do I do?