Master Of Animation, Games & Interactivity
Master Of Animation, Games & Interactivity

After playing around with the demo scenes in the Kinect v2 with MS-SDK asset, I decided to dive in and tweak one of them (the Avatar demo to be precise) to see if I can get a jump gesture detection working.

I added one of their sample scripts - the Simple Gesture Listener script - and edited it so that only the JUMP gesture is detected, displayed via the info text on the top left of the screen. At first, I ran into issues where Unity doesn't return back to the original detection state after a jump is detected. This is shown in the first half of the video. However, after I followed these instructions, I managed to get the info text to show the two states: 'Detecting JUMP...' and 'Jump detected' - please refer to the second half of the video. There is still a slight delay before it goes back to the detecting state... but it works as I intended.

Reflection:

Overall, I found this process to be quite daunting, being new to Unity and all. There was a lot of pulling my hair out moments, as there isn't a clear set of tutorials that I could follow for this asset - written instructions seemed to be sprinkled throughout the asset and the developer's website, but it assumes some foundational knowledge of Unity to begin with (which I don't have), so I had to decipher and work my way around Unity with a lot of guesswork. At this stage, I'm wondering if I need to go through some basic Unity tutorials to begin with, so that I feel more comfortable tweaking the code and using the asset to its full potential.

About This Work

By Helen Kwok
Email Helen Kwok
Published On: 13/08/2019

academic:

play

mediums:

interactive, physical, programmatic

scopes:

sketch

tags:

AGI Studio 2, Studio 2, Testing, kinect