I have two positions, my cameras, and one from an object. I want to be able to move the camera smoothly from on position to the other. Since the positions are always different, animation players don’t work(as far as I know).
I have two positions, my cameras, and one from an object. I want to be able to move the camera smoothly from on position to the other. Since the positions are always different, animation players don’t work(as far as I know).
Use a Tween. If it’s only translation it’s very straightforward. If rotation comes into play, you will probably have to use quaternions instead of Euler angles. More info here.
Are these 2D/Script only, because I can’t find them when pressing plus to add a new node?
In Godot 4 they’re no longer a node. Check the updated docs for how to use them, they work fine in 3D and you can tween any value.
Thanks, was looking at old threads, do you know how I can rotate with tweens, “position” is for movement, but I can’t find something as rotate, does it exist?
Yes, you can tween the “rotation” or “rotation_degrees” property. If you need to tween a specific axis you can tween “rotation_degrees:x” for example.