Animation Pose Snapshot Live Training - New Facing Direction Calculation


I followed the Pose Snapshot Live Training and I found that the way to determine the Facing Direction sometimes lead to false results:

I really dont fully understand the math behind it but I found that the Up Vector gave positive Z values when facing up and negative ones when facing down:

So I changed the Calculate Facing Direction function a bit:

Maybe someone might find this useful.