söndag 6 september 2009

Busted for real

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.

Inga kommentarer: