Hi, I was just wondering if anyone ever had this problem before:
If I do
var q = Quaternion.CreateFromYawPitchRoll(MathHelper.PiOver2, 0, 0);
var v = Vector3.Transform(Vector3.UnitZ, q);
I get {X:0.9999999 Y:0 Z:5.960464E-08} for the vector3 value, but I'm expecting {X:1 Y:0 Z:0}
I am doing something wrong? What causes this precision problem? How can I fix this?
Thanks