title: Calculating and Displaying Joint angles live in Kinect SDK 2.0
body: <p>I am currently working on a project where it is necessary to track a joint's angle (the left knee) and display it live on a screen. I already have the skeleton drawn and a display window setup to overlay the skeleton on top of the person. I am programming in C# and using Visual Studio 2013 Ultimate.</p>
  
  <p>I saw this link here <a href="https://stackoverflow.com/questions/27726307/kinect-sdk-2-0-joint-angles-and-tracking">kinect sdk 2.0 joint angles and tracking</a>
  but the code keeps returning an error because the Results function at the bottom does not exist for me, and I cannot figure out why. Additionally, I am having trouble figuring out how to create a variable that can be displayed on the screen while updating constantly (if its not there it can display N/A or 0).</p>
  
  <p>I also followed the link of the person answering to this page <a href="https://stackoverflow.com/questions/11061287/display-the-angles-of-each-joint-of-the-skeleton-in-kinect-c-sharp/27678086#27678086">Display the angles of each joint of the skeleton in kinect c#</a> 
  but the code is meant for SDK 1.X. </p>
  
  <p>Does anyone have example code or advice on how to fix the problem I am having with updating variables/defining Results so that I can use the code in the first example?</p>