Search Unity

3D body coordinates in real world to unity coordinates?

Discussion in 'Scripting' started by jayhack, Oct 31, 2014.

  1. jayhack

    jayhack

    Joined:
    Oct 5, 2014
    Posts:
    1
    Hi guys, I am building an application in which I would like to take information that I have received from a kinect, describing an actor's body coordinates in a 3D coordinate system, and use it to animate a character in a unity application. The information that I receive from the kinect consists of absolute coordinates of 14 points on the body (head, shoulders, elbows, etc.) in a coordinate system that is centered at the kinect sensor, although I can perform rotations/scaling/translation quite easily. The 'frames' of bodily motion consist of JSON objects mapping body part names to their coordinates, and I am currently successfully loading them in my program at the appropriate times. How might I best go about animating a body with this information? Does everything