[1.6] How to setup active and switch new cameras

0

Hi,

I have a few cameras in the scene (new Camera form Entity Component). How can I setup one active ? View from it ? Then how can I switch between them ? and between sequences ?

Cheers

asked 7 years ago218 views
4 Answers
0
Accepted Answer

I dont have all the answers, but perhaps I can point you in the right direction. Check out the ViewSystem in CryAction.


ViewSystem.h:
virtual IView* CreateView();
virtual unsigned int AddView(IView* pView) override;
virtual void SetActiveView(IView* pView);
IView.h:
virtual void LinkTo(AZ::Entity* follow);

Then you might want to connect to the tickbus and setup OnTick() to update your view transforms; possibly from input events. Idk, up to you.

answered 7 years ago
0

Thank you @REDACTEDUSER

answered 7 years ago
0

Hey @REDACTEDUSER

answered 7 years ago
0

I was wondering how to switch Cameras in the level just like FN Camera:View:)

answered 7 years ago

This post is closed: Adding new answers, comments, and votes is disabled.