Forum rules - please read before posting.

Camera focus

Hey there,
how should I make the camera focus and zoom on GameObject through script?
Thank you for the response.
Wolf Flare.

Comments

  • What kind of Camera?

    If it's a GameCamera, then AC will not affect the zoom level so long as the Field Of View panel in its Inspector has Lock? checked.

    When locked, the Camera's fieldOfView can be controlled with a separate script attached to it. This isn't related to AC, but you should be able to find plenty of examples on the Unity forums.

    Once you have a script that has a function that does what you want, you can call that function in an AC ActionList by using either the Object: Call event or Object: Send message Action.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.