I am trying to move my capsule to the camera direction.
I am doing the following:
Capsule.transform.eulerAngles = new Vector3(0, Camera.transform.eulerAngles.y, 0);
then i am doing:
Capsule.transform.Translate(Capsule.transform.forward * 0.1f);
and my capsule moving NOT forward, but camera looking directrly to Capsule.
Help pls, how to move my Capsule at the Camera direction, when Camera looking directly on Capsule.
PS: my forward direction rotates 360 degrees, every 180 degree, wtf? so my Capsule rotates 2x faster than my Camera, i dont understand why??? they both have the same Angles.
I think its a bug, Unity3d internally calculates wrong Forward direction.