My Lecturer was kind enough to lend me her Leap Motion over the past week and I have been hard at work trying to implement it within UDK. Thankfully, a very helpful member of the UDN community, called @ntares, posted an API to allow functionality for the Leap in UDK. Unfortunately, the implementation of this API required a knowledge of UnrealScript, a language I had no prior experience with and so I have been very busy trying to learn it. Thankfully back in high school I wrote my Advanced Higher Computing project in a language called C#; an object-oriented language based off C++. This was a huge help in getting to grips with UnrealScript as it is also object-oriented, and so shares many principles with C# and any other OO language. Therefore after a week of reading, research, headaches and a few 'clueless beginner' questions on the UDN forums I managed to get the Leap operational. I wrote a custom Kismet event node that now handles all of the data that the Leap spits out.
This means that everything is handled via Kismet and I shouldn't have to delve into the murky depths of UnrealScript again. Unless I want to add more functionality. And now that I can, I probably will, but that's a task for a later date! The fact that the Leap is operational means that I can go ahead with the project as planned and can start to draft up my proposal. I will post some rough aims and objectives soon.

No comments:
Post a Comment