When using SetCamera, you have the option to set a transitionTime. BUT if you want to change cameraType, you cannot do that, and the transition is instant.
If you want to switch from orbit to action (and the other way around) with a smooth transition, use this package to learn how to do it: CameraTransitionForActionAndOrbit.
If you set this script to a trigger, it will change from orbit to action when entering, and from action to orbit, when exiting.
You can see a working video: https://discord.com/channels/434318690381725726/728233736637775883/747461484564578304