0
Answered

Variable weapon zoom

Sam Leitch 4 months ago in Shooter updated by Marti (Lead Developer) 4 months ago 1

Hello,

I am looking to implament a secondary zoom mode for both normal guns (iron sight mode) and a 2x zoom example mode mode for snipers.

Is there something pre-built into Game Creator or is this an on trigger key enter 'z' you swop to a secondary zoom?

Any advice would be greatly appreciated.

Regards,

Sam

Unity version:
2019.3.14
Game Creator version:
latest
+1
Answered

Zooming is usually done changing the camera's field of view. You can easily do that using the Camera FOV (Field of View) Action.

Decrease the value to zoom in and increase it to zoom out. The default value should be set around 60, if I'm not mistaken.