I would like to tween script values (or script properties) via a C++ tween module.
But I don't know how to do this.
In c++ it's quite easy, I just keep an int* or a float* and update values through these pointers but with angelscript float and int are value types and if I understand the documentation, I can't get any pointer to value types (and then I cannot modify them from my c++ code)
It seems I might use the flag asEP_ALLOW_UNSAFE_REFERENCES but I prefer a safier solution if possible.
Do you have any idea how to do this?
Thanks in advance.