Have buttons that scale/move with zoom camera
Asked Answered
C

2

0

So, I have a zoom function on game, and I want to have a control bar of buttons on the bottom of the screen, to have abilities and such. I put them as children of the camera so that they move when I move the camera around, but when I zoom they stay in the same place, and also same size. I want them to scale in size equal to the zoom, and stay in the same part of the screen when I zoom in and out. Is this possible?

Cana answered 14/9, 2023 at 22:54 Comment(0)
C
1

and if you add them as children of a canvasLayer

Cowley answered 15/9, 2023 at 0:53 Comment(0)
C
0

Cowley that was such an easy solution! thanks mate

Cana answered 15/9, 2023 at 10:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.