Jump to content

How to get the current camera mode and set it to IVA


Recommended Posts

Pretty much what the title says, i am trying to change the camera mode to IVA camera and making the user unable to switch to other camera modes for a duration.

I used the following line to get the current camera.

Camera myCamera = Camera.current;

But i need to use CameraManager class to change my current camera and i just couldn't make the connection between the camera and cameraManager class. In short words how do you change the current camera mode to IVA?

Link to comment
Share on other sites

Update and bump:

I can set the current camera mode to IVA by overriding OnUpdate. However something instantly pulls it back to Flight camera. So its like switching 100 times in a second between these 2 modes. Any ideas?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...