Dynamic Camera in Unity

Hi, I can’t add Dynamic Camera in unity, is there any other way to download it? Much appreciated

Hi @AnastasiaZA,

Do you mean that you can’t add a Dynamic Camera via the Cesium window? If so, may I know what version of Unity you’re using, and what operating system you’re on?

If you can’t add it from the window, you can add it from the Project window. Go to Packages > Cesium for Unity > Runtime > Resources, and you should see the DynamicCamera prefab there.

Perfect, now it works. Thank you.
I use Unity 2021.3.16.f1

Hello,can I set my own keys to control the dynamic camera, I want to control the movement of the camera only through the mouse, just like the Scene interface controls the viewing angle, can I do it?

1 Like

Hi @kongyu,

There’s no way to modify the controls on the component itself, but you can make a copy of CesiumCameraController.cs and modify the script for your own needs.

1 Like

“Dynamic Camera” is also the name of a prefab included with Cesium for Unity. There’s no need to download anything extra from the asset store to use the Cesium for Unity DynamicCamera.

Hi all,
I’m sorry to bump again this old issue but if I add Dynamic Camera in this way Unity gives me some errors:


Any help?
Unity version: 2022.3.33f1
Cesium for Unity: 1.10.1
Regards
Fabio

Can you walk us through what you did leading up to those errors?