Hello! When I imported a 3d model from Blender, in .obj format, as a simple mesh for the existing player, the horizontal rotation of the camera and the player movement were well syncronized.
Now, when I imported the player in GLTF format, I have a little trouble with this syncronization. At first, when I was rotating the camera, the camera was revolving around the player. Then I decided to attach the camera to the head bone, in order to synchronize the horizontal rotation of the camera and the player.
I assigned a "BoneAttachment" node to the head of my human-shaped player. Then, I attached the camera to the BoneAttachment node, as its child.
While the camera is moving well, the player is not moving at all.
How could I make the player to rotate along with camera?
Here is the Player node hierarchy:

And here is the code that responds for camera rotation:
