I've started integrating it and up until now it has been relatively simple. Within UDK's unrealscript you utilize a DLLBind to bind the necessary functions from NPTrackingTools.dll to your class, and from there you can Initialize, Shutdown, etc.
I run into a problem however when it comes time to passing pointers. Unrealscript doesn't support char's for one, and a pointer to a char array, no. Specifically, when trying to load my ttp project the only datatype I can really pass is a string. When doing that however, the TrackingTools side only receives the first char of that string and tries to load project "p" instead of "project.ttp".
Code: Select all
TT_LoadProject(const char *filename)
I've tried a million different workarounds. I did manage to successfully do a LoadProject by actually renaming my "project.ttp" to "p" which seems to retrieve some information, although my TT_TrackableName retrieval seems weird. I'm still stumped on the float pointers though. Any suggestions?
I have a similar post going on the UDK forums: http://forums.epicgames.com/showthread.php?t=753267