i am new to angelscript and i'm trying to make a game engine scriptable, where i have C++ objects and i want certain methos of this objects be overwriteable from angelscipt.
I have the class registered with
engine->RegisterObjectBehaviour("SuperClass", asBEHAVE_FACTORY, "SuperClass@ f()", asFUNCTION(SuperClass_Factory), asCALL_CDECL);
when i make a script like this:
class MyClass : SuperClass
{
}
i get a error message:
Can't inherit from class 'SuperClass' marked as final
Can i 'unset' the final, or is this not possible, and if it is not possible, what would be the best (as in the easiest for the script author) to achieve a similar beavour, so that a script editor can overwrite methods, like for example onCollision()