Hello everyone,
I'd like some help on making my camera translate when the scene is launched, for a subtle zoom effect. However after trying many things, it's still not working.
Here's what I have currently:
func _ready():
$CameraControl/Camera.translation = lerp(Vector3(0, 0, -30), Vector3(0, 0, -10), .5)
I also tried it with a method of the parent node, which is a Spatial:
func _ready():
$CameraControl.translate(lerp(Vector3(0, 0, -30), Vector3(0, 0, -10), .5))
I seem to be missing something here. Most tutorias I found are about making the camera follow a player, and since this is for some type of menu, following an object is not what I'm looking for. Any help will be greatly appreciated, thanks for reading.