Maybe its something like that:
atan ( (y2 - y1) / (x2 - x1) )
Where x2,y2 is, for example, the left elbow position
and x1,y1 is the left shoulder so when you use this
above you should get a / (the tilt?) angle for the left shoulder.
I have also tried to use Kinect with 3dgs but with OpenNi.
That doesnt work very well because I wrote the angles in a textfile and
read it in Gamestudio.
I hope you share your dll with us.
You should take a look into the trigometry section in
the 3dgs manual or search the web for trigometry
