I found the real reason for the script bug yesterday. Lua was destroying objects randomly after calling functions from C++ and passing this-pointers to the objects as arguments. I guess I will have to create some adopt-policy or something but for now I store the pointers in a vector in lua so they don't get destroyed. An ugly solution yes, but a working temporary one.
Also, I started working on a Camera component and exported a new mesh for using in IK Animation tests.
Prenumerera på:
Kommentarer till inlägget (Atom)
Inga kommentarer:
Skicka en kommentar