Forum rules - please read before posting.

Change Pitch Fixed Angle via Script ( GameCameraThirdPerson )

edited September 2019 in Technical Q&A

Hi Chris,

AC 1.69

I've tried to find a SetPitch option on the GameCameraThirdPerson script, also tried to play with the pitchAxis (but that only prints CursorVertical,

How do I script to modify the Locked Pitch rotation fixed angle of the camera,

Thank you

Comments

  • If the Pitch rotation is set to Locked in the Inspector, then the fixed angle is set with its maxPitch property.

  • Thank you,

    Another question,

    While the Distance is modified when the game is paused with the UI, you can see immediate effect of the camera moving its distance regardless of being paused.

    However when modifying the Pitch max rotation you do not see it reflected until you resume the game,

    Can this also be reflected within pause, if so how?

  • I shall have to see.

  • Thank you :)

    Especially useful for the user to adjust the camera while in 'Cam Settings Menu'

    Let me know of the update when you have it.
  • This'll be included in v1.69.1.

  • Thank you kindly.

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.