Looking for some help to try and figure out how to set the active viewport to look through the newly created camera, via Python and outside game mode.
Well I guess not much help on here. Took me hours to figure this out. Really wish there was better documentation for Python users in Unreal dev:
unreal.VCamBlueprintFunctionLibrary.pilot_actor(camera_actor)
You could also try
#Select a camera in your level
actor = unreal.EditorLevelLibrary.get_selected_level_actors()[0]
unreal.EditorLevelLibrary.pilot_level_actor(actor)
1 Like