Relative Content

Tag Archive for godot4tween

Why can I only look left to right while I use the tween

func check_if_can_wallrun(delta: float): var camera_tween = create_tween() var normal_camera_orientation = Vector3(0,0,0) var running_on_right_wall_camera_orientation = Vector3(0, 0, 15) var running_on_left_wall_camera_orientation = Vector3(0,0,-15) if not can_wall_run: # Reset gravity and camera properties when not wall running gravity = ProjectSettings.get_setting(“physics/3d/default_gravity”) camera.fov = lerp(camera.fov, normal_fov, fov_transition_speed * delta) # Handle wall-running if can_wall_run: if wall_run_right.is_colliding() and not is_on_floor(): gravity […]