little things post jam

This commit is contained in:
Crizomb 2025-09-13 02:40:31 +02:00
parent a185751e5a
commit 295245fe4d
5 changed files with 28 additions and 5 deletions

View file

@ -0,0 +1,9 @@
extends Node
@export var car: Car
@export var fov_min := 70.0
@export var speed_fov_effect := 0.5
@onready var camera_3d: Camera3D = $".."
func _process(delta: float) -> void:
camera_3d.fov = 70 + car.linear_velocity.length() * speed_fov_effect