First technical demo
Motion Tracking
To track human movements, a AstraBodyTraking script was written, which registers and stores the position of each joint in world coordinates. For this purpose, a dictionary is used, where the key is the joint type and the value is an object of the JointInfo class. JointInfo stores all necessary information about the joint.
Transferring motions to the model
To transfer movements to the model, inverse kinematics is used through the Animation Rigging package. Limiters and controllers were placed on the joints of the model. A ModelJoint script has been written, which attaches to the limiter controller and receives information about a particular joint every body update frame.