The camera follows the player, position and rotation
roweigand
Member Posts: 1
Hello everyone.
I wish the camera follow the player, who changes direction at any time. I did it. But my difficulty is that the buttons do not follow and rotate with the camera. The problem is that when the camera turns, it does not maintain its position attributes. Unlike maintain its point of origin (scene.Camera.Origin.X / Origin.Y) on the left and below, the source point moves based on a central point.
Could anyone help me with this? How to make the camera rotate, change position and zoom, and make that menus, scores and buttons (and touch area) will not move on the screen.
Thanks
I wish the camera follow the player, who changes direction at any time. I did it. But my difficulty is that the buttons do not follow and rotate with the camera. The problem is that when the camera turns, it does not maintain its position attributes. Unlike maintain its point of origin (scene.Camera.Origin.X / Origin.Y) on the left and below, the source point moves based on a central point.
Could anyone help me with this? How to make the camera rotate, change position and zoom, and make that menus, scores and buttons (and touch area) will not move on the screen.
Thanks
Comments