How to automatically create multiple CineCameraActors by executing external python scripts in UE5

I want to automatically generate multiple CineCameras in UE5 by executing an external python script, and the location, rotation, and focal length of each camera can be set in the python script. Please provide specific details that can be run directly python code, thanks!

Hey there @FunnyCharly! I don’t work with the Python API too often myself, so here’s some resources on showing how to spawn actors in the scene, as well as adjust variables on those actors.

Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.

https://docs.unrealengine.com/4.27/en-US/PythonAPI/class/Actor.html

Solved

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.