Kinect, Coding4Fun

Feb 11, 2012 at 4:28 AM

Hi everyone,

I'm currently trying to convert code from Beta 1 to Beta 2. But I'm running into issues trying to get ScaleTo to work. Before I had something like this

Joint joint = data.Joints[JointID.HandRight];
 joint.ScaleTo(width, height);

But now I'm getting this error, "'Microsoft.Research.Kinect.Nui.Joint' does not contain a definition for 'ScaleTo' and the best extension method overload 'Coding4Fun.Kinect.WinForm.SkeletalExtensions.ScaleTo(Microsoft.Kinect.Joint, int, int)' has some invalid arguments. I've tried some things that I thought would help but so far nothing.

Any suggestions?


Feb 11, 2012 at 4:30 AM

Make sure your SDK matches the C4F Toolkit.

Toolkit 1.1 goes with Beta 2 of the SDK.

Toolkit goes with v1.0 RTM of the SDK.

The error you're getting indicates you likely have these mismatched.

Feb 11, 2012 at 4:48 AM
Edited Feb 11, 2012 at 4:54 AM

Ah, so having v1.5 of the Toolkit is what's throwing it off?


Awesome! Thank you!!!

Feb 11, 2012 at 5:48 AM

Use this version: 

I updated the release titles hopefully to make this clearer as well.