// Somewhere in some Initialize method: (assuming your player entity contains a Camera component and a Player component of some sorts)
playerComponent = GetParent().GetComponent<PlayerComponent>();
// Somewhere in some OnUpdate method:
cameraPosition = playerComponent.GetTransform().GetPosition();
cameraPosition.x = playerComponent.GetTransform().GetPosition().x;
"it takes a few hundred MB ram to display a simple html page. What is this madness?"
"Back in the day the entire OS would run on 256MB just fine and youtube on top of that."