Jump to content

[SOLVED] Switching camera


photo

Recommended Posts

Hi, I just beginner in Unigine engine can you explain to me how to switch camera. For example i can get any node from Editor

Unigine::World::getNodeByName("Some_NodeName");

If i right understand, i need change camera in current player like this:

Game::getPlayer()->setCamera(SomeNewCamera)

I can create new camera and setup any settings for it but there is question: Can i get camera like "node" from editor?

Link to comment
  • morbid changed the title to [SOLVED] Switching camera
×
×
  • Create New...