A simple way to do smooth cinematic cameras using item display's and their unique nbt!
Latest Version (1.20.2)
Spawning the camera:
/summon item_display X1 Y1 Z1 {view_range:0f,teleport_duration:TIME,Tags:["camera"],item:{id:"minecraft:air",Count:1b},Rotation:[RY1f,RX2f]}
gamemode spectator @a
tp @e[tag=camera] X2 Y2 Z2 RY2 RX2
Keeping them locked to camera:
execute as @a[gamemode=spectator] at @s run spectate @e[type=item_display,tag=camera,sort=nearest,limit=1]
🔵 Discord & Other Links: https://linktr.ee/CloudWolfMC
💻 Website: https://cloudwolfyt.github.io