void engine_EmoStateUpdated(object sender, EmoStateUpdatedEventArgs e)
{
EmoState es = e.emoState;
if (e.userId != 0)
return;
Debug.Log ("Corrent action: " + es.MentalCommandGetCurrentAction().ToString());
if (es.MentalCommandGetCurrentAction () == EdkDll.IEE_MentalCommandAction_t.MC_PUSH) {
Vector3 movement = new Vector3(cam.transform.forward.x, cam.transform.forward.y, cam.transform.forward.z);
rb.AddForce(movement * speed);
Debug.Log ("Push");
}
}