First photo:
Second photo:
Third photo: The problem here is when i rotate the camera and my two hands is detected this line of code is still working but in a wrong direction. It should forward where my camera is facing.
void Update ()
{
Frame frame = provider.CurrentFrame;
foreach (Hand hand in frame.Hands) {
if (frame.Hands.Count > 1) {
transform.Translate (0, speed * Time.deltaTime, 0);
}
}
}
help me please guys... i've been working on it for 2 days