Zoom and Scroll?

Posted: 31 Mar 2022 18:10
by gradstein

Wondering if there's a way to let the player zoom and scroll on the screen.

I've noticed the "look" feature which allows for the scroll part, but any way to enable pinch to zoom as well so the player can scroll a scene within a bounding box and zoom in on things?


Re: Zoom and Scroll?

Posted: 01 Apr 2022 06:24
by idaot

That is not possible out of the box. I suggest overriding CameraManager and @look with a script replacing CameraLookController and a new input sampler that controls the Z-axis/camera zoom.

Here are the relevant guides:
https://naninovel.com/guide/custom-comm ... in-command
https://naninovel.com/guide/engine-serv ... n-services
https://naninovel.com/guide/input-proce ... processing