aboutsummaryrefslogtreecommitdiffstats
path: root/godot
diff options
context:
space:
mode:
authorLibravatar David <david003@gmx.net>2022-07-16 15:12:11 +0200
committerLibravatar David <david003@gmx.net>2022-07-16 15:12:11 +0200
commit635cfebff3ec0ce5b74ac728a5655339755efe39 (patch)
tree6ae3def84f22a3ce48e61804b13edb66a37b79c9 /godot
parentbb721621d661ab4e068a589a853c2420b7ac6566 (diff)
download2022-635cfebff3ec0ce5b74ac728a5655339755efe39.tar.gz
2022-635cfebff3ec0ce5b74ac728a5655339755efe39.tar.bz2
2022-635cfebff3ec0ce5b74ac728a5655339755efe39.zip
better mouse handling. correct impulse
Diffstat (limited to '')
-rw-r--r--godot/scenes/levels/test_scene_movement/TestSceneMovement.tscn2
-rw-r--r--godot/scenes/objects/Player.tscn6
2 files changed, 6 insertions, 2 deletions
diff --git a/godot/scenes/levels/test_scene_movement/TestSceneMovement.tscn b/godot/scenes/levels/test_scene_movement/TestSceneMovement.tscn
index 688f1c7..d23236b 100644
--- a/godot/scenes/levels/test_scene_movement/TestSceneMovement.tscn
+++ b/godot/scenes/levels/test_scene_movement/TestSceneMovement.tscn
@@ -28,5 +28,3 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 40, -1, -20 )
transform = Transform( 0.766044, 0, 0.642788, 0, 2, 0, -0.642788, 0, 0.766044, 19.47, 0, -14 )
[node name="PlayerRoot" parent="." instance=ExtResource( 3 )]
-input/camera_mouse_sensitivity = Vector2( 0.014, 0.01 )
-input/shoot_sensitivity = 0.041
diff --git a/godot/scenes/objects/Player.tscn b/godot/scenes/objects/Player.tscn
index 0d162f4..f8a3fba 100644
--- a/godot/scenes/objects/Player.tscn
+++ b/godot/scenes/objects/Player.tscn
@@ -6,6 +6,12 @@
[node name="PlayerRoot" type="Spatial"]
script = ExtResource( 3 )
+camera/camera_clamp = Vector2( 0, -2 )
+shooting/max_force = 30.0
+shooting/up_angle = 1.0
+shooting/stopping_velocity = 0.003
+input/camera_mouse_sensitivity = Vector2( 0.003, 0.002 )
+input/shoot_sensitivity = 0.3
[node name="W8" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 0 )