transform.forward not working for me.

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.

“how to move my Capsule at the Camera direction, when Camera looking directly on Capsule.”
If the camera is looking at the capsule, looks like you ALMOST had it, just used the wrong forward transform:

Capsule.transform.Translate(Camera.transform.forward * -0.1f);

(I used NEGATIVE 0.1 to move the capsule toward the camera’s “backwards”)

I found the problem.
The problem is “transform.Translate” function. Its totally broken.

If i am using following code:

Capsule.transform.position += Capsule.transform.forward * speed;

then everything is working just fine.