What is the best technique for doing this from the perspective of collecting assets and techniques to study.
I have already achieved this but here is an example. I tried to make a camera controller that switches between two camera modes. I created a tween to interpolate between two transforms.
I am using a follow_this variable which says which node to follow. And I have a method that resets the target_node. The camera tweens it's position to the target_node directly. But the follow_this property is the node it works with before the target_node is set. So when I reset the follow_this variable, it targets a child node of follow_this. It uses get_node and gets 'Targets/Camera/' + CAMERA_MODE_ENUM.keys().
When you set the camera mode it will target a different node child of follow_this. One target points down for a top down view and the other points at the object up close.
It uses a scene for the camera mode controller which I now realize could have just been a script but I used scenes, in case I wanted to utilize them to make up a camera mode controller.
Each cam mode controller moves the cursor with a tween, depending on if it moves it to the middle and locks it in position. Or if it goes back to its position in the top down camera mode.
Would this have already been done in Godot? Is there a better method of how I am doing this like finding a code sample online for switching camera modes. It's a bit late now, but im asking because I was wondering if this is part of the process of which you design and code these systems or yourself or will there already be code out there pre-coded?
It also has the ability to zoom the camera in and out.
To sum this up, was I write to code these systems from scratch or would they already existed and I've just re-invented the wheel for no reason. I had a bit of look for assets and couldn't find camera switching for example.
It's taken me probably a week maybe longer. And I have just got back from a long hiatus so I feel like I'm struggling to get my confidence back and feel slow.
Thanks