Go to a position with a specific rotation - Please help

Hello everyone, I need to click on an object, the camera travels smoothly to a certain position and a certain rotation (I must be able to click on different objects in the scene, and I must be able to travel with my camera to different positions and rotation of Each position and rotation point, I must be able to define it at ease The movement between one point and another must be very smooth (ideal if I can define the smoothness from a parameter).
I’m based on a tutorial on the playcanvas page: Entity picking using physics | Learn PlayCanvas
which is part of the work, but this does not include the rotation for the camera, what I need is practically the same as this, but that you can define a rotation of the camera for each point.

Here I leave the project created in my account based on the tutorial in case you can help me directly here

https://playcanvas.com/project/527218/overview/move-to-a-pos-and-rot-help

Thank you very much and sorry for my English

If you have two rotations to interpolate between, you can use slerp (https://developer.playcanvas.com/en/api/pc.Quat.html#slerp) in the same way that the tutorial is using `lerp’ for positions.

Thanks for your suggestion, I am not a programmer, I am a CG artist, who tries to learn the basics. This is my website www.xline3d.com
It would be very helpful if you can add those lines to the code I am taking as a base:
https://playcanvas.com/project/527218/overview/move-to-a-pos-and-rot-help
I know there are few lines, but it would take me a long time to do it now with my knowledge. If you can help me, I will be grateful.