I'm trying to make a moving graphic interacts with body movement tracked by Kinect.
I could make a group of shapes follows the movement but I cant make those shapes react against the movement. For example, 12 triangles bounced buy hand stroking.
I assumed there are 3 stages of this operation.
1. calculate distances between objects and body part.
2. If the distances are less then 0.2
3. trigger the reaction
there are several problems to solve.
I managed to calculated the distances from objects to body parts (not perfectly correct though)
but the rest of the part I have no idea how I could do it.
I have been experimenting but still I couldn't figure it out.
please, give me some help