That's what I've done : parented the camera to the player entity. Whenever it moves, the camera moves. I then align the cameras yaw to the players yaw every frame. Done.
I also made the camera collide with the world so it doesn't go through geometry. This works really well 95% of the time ... the other 5% I can live with. Heh.
I also made the camera collide with the world so it doesn't go through geometry. This works really well 95% of the time ... the other 5% I can live with. Heh.