From 8576f0bdeb2627c8216e1683b330c24b10ea10fe Mon Sep 17 00:00:00 2001 From: Rob Kelly Date: Sat, 9 Nov 2024 16:26:15 -0700 Subject: [PATCH] Parameter tweaks --- src/player/orbital_camera/orbital_camera.gd | 2 +- src/player/orbital_camera/orbital_camera.tscn | 2 +- src/player/shot_setup/shot_setup.gd | 2 +- src/player/shot_setup/shot_setup.tscn | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/player/orbital_camera/orbital_camera.gd b/src/player/orbital_camera/orbital_camera.gd index d6d8200..49a7b1f 100644 --- a/src/player/orbital_camera/orbital_camera.gd +++ b/src/player/orbital_camera/orbital_camera.gd @@ -4,7 +4,7 @@ const POSITION_ACCELERATION := 4.0 @export var target: Node3D -@export var angular_speed := 0.01 +@export var angular_speed := 0.007 @onready var camera: Camera3D = %Camera diff --git a/src/player/orbital_camera/orbital_camera.tscn b/src/player/orbital_camera/orbital_camera.tscn index ffd626d..9a3cbfc 100644 --- a/src/player/orbital_camera/orbital_camera.tscn +++ b/src/player/orbital_camera/orbital_camera.tscn @@ -7,7 +7,7 @@ script = ExtResource("1_nvlic") [node name="Pitch" type="SpringArm3D" parent="."] transform = Transform3D(1, 0, 0, 0, 0.913545, 0.406737, 0, -0.406737, 0.913545, 0, 0, 0) -spring_length = 3.0 +spring_length = 3.2 [node name="Camera" type="Camera3D" parent="Pitch"] unique_name_in_owner = true diff --git a/src/player/shot_setup/shot_setup.gd b/src/player/shot_setup/shot_setup.gd index 8d319bd..8335598 100644 --- a/src/player/shot_setup/shot_setup.gd +++ b/src/player/shot_setup/shot_setup.gd @@ -28,7 +28,7 @@ const CAMERA_SNAP_TIME := 0.3 @export var driving_range := false @export_category("Shot Parameters") -@export var base_power := 1.0 +@export var base_power := 2.5 @export var base_curve := 0.0 var base_speed: float = ProjectSettings.get_setting("game/config/controls/camera/free_camera_speed") diff --git a/src/player/shot_setup/shot_setup.tscn b/src/player/shot_setup/shot_setup.tscn index 0fd2cc6..274be2e 100644 --- a/src/player/shot_setup/shot_setup.tscn +++ b/src/player/shot_setup/shot_setup.tscn @@ -408,7 +408,7 @@ script = ExtResource("1_r6ei4") [node name="BallPoint" type="Node3D" parent="."] unique_name_in_owner = true -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.08, 0) [node name="PhysicsBall" parent="BallPoint" instance=ExtResource("2_1i5j5")] unique_name_in_owner = true @@ -435,7 +435,7 @@ unique_name_in_owner = true [node name="DriveRef" type="RayCast3D" parent="Direction"] unique_name_in_owner = true -transform = Transform3D(-1, 6.18172e-08, -6.18172e-08, 0, 0.707107, 0.707107, 8.74228e-08, 0.707107, -0.707107, 0, 0.2, 0) +transform = Transform3D(-1, 6.18172e-08, -6.18172e-08, 0, 0.707107, 0.707107, 8.74228e-08, 0.707107, -0.707107, 0, 0.08, 0) enabled = false target_position = Vector3(0, 0, 1) collision_mask = 0 @@ -444,7 +444,7 @@ debug_shape_thickness = 4 [node name="WedgeRef" type="RayCast3D" parent="Direction"] unique_name_in_owner = true -transform = Transform3D(-0.7, -5.29972e-08, 3.0598e-08, 0, 0.35, 0.606218, -6.11959e-08, 0.606218, -0.35, 0, 0.2, 0) +transform = Transform3D(-0.7, -5.29972e-08, 3.0598e-08, 0, 0.35, 0.606218, -6.11959e-08, 0.606218, -0.35, 0, 0.08, 0) enabled = false target_position = Vector3(0, 0, 1) collision_mask = 0 @@ -453,7 +453,7 @@ debug_shape_thickness = 4 [node name="PuttRef" type="RayCast3D" parent="Direction"] unique_name_in_owner = true -transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0.2, 0) +transform = Transform3D(-1, 0, -1.50996e-07, 0, 1, 0, 1.50996e-07, 0, -1, 0, 0.08, 0) enabled = false target_position = Vector3(0, 0, 1) collision_mask = 0