Smoothing the skeleton movement.

I am trying to smoothen my skeleton in a processing sketch with SimpleOpenNI in the official documentation I have found setSmoothingSkeleton but with the latest version it just says that the function does not exist heres how Im using it

` import processing.opengl.*; import SimpleOpenNI.*;

SimpleOpenNI  kinect;
import saito.objloader.*;
OBJModel model;
void setup() { 
  size(1028, 768, OPENGL);
  model = new OBJModel(this, "kinect.obj", "relative", TRIANGLES);
  model.translateToCenter();
  BoundingBox box = new BoundingBox(this, model); 
  model.translate(box.getMin()); 
  kinect = new SimpleOpenNI(this);
  kinect.enableDepth();
  kinect.enableUser();
  kinect.setSmoothingSkeleton(0.6);

  kinect.setMirror(true);
}`
Sign In or Register to comment.