Help zooming a model in the viewport

  1. What do you want to achieve? I want to create a “function” that allows the player to zoom and move a dummy within a viewport

  2. What is the issue? I don’t have the slightest idea how to start

Well since a viewportframe is controlled by where the camera is, if its something as simple as zooming in and out, for zooming in you would add to the camera’s position by its lookvector, and for zooming out you would subtract the camera position by its lookvector

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.