summaryrefslogtreecommitdiffstats
path: root/character
diff options
context:
space:
mode:
Diffstat (limited to 'character')
-rw-r--r--character/fps_controller/fps_controller.gd4
-rw-r--r--character/fps_controller/fps_controller.tscn3
2 files changed, 4 insertions, 3 deletions
diff --git a/character/fps_controller/fps_controller.gd b/character/fps_controller/fps_controller.gd
index e2d4d03..cd49255 100644
--- a/character/fps_controller/fps_controller.gd
+++ b/character/fps_controller/fps_controller.gd
@@ -3,11 +3,11 @@ extends KinematicBody
onready var camera = $Camera
onready var ray = $Camera/RayCast
-export var walk_speed : int = 5
+export var walk_speed : int = 10
export var accel : float = 0.2
export var gravity : int = -1
export var term_velocity : int = -35
-export var jump_strength : int = 10
+export var jump_strength : int = 20
var velocity : Vector3
diff --git a/character/fps_controller/fps_controller.tscn b/character/fps_controller/fps_controller.tscn
index d187121..c176a39 100644
--- a/character/fps_controller/fps_controller.tscn
+++ b/character/fps_controller/fps_controller.tscn
@@ -4,6 +4,7 @@
[sub_resource type="CapsuleShape" id=1]
radius = 0.3
+height = 2.0
[node name="fps_controller" type="KinematicBody"]
script = ExtResource( 1 )
@@ -13,7 +14,7 @@ transform = Transform( 1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0
shape = SubResource( 1 )
[node name="Camera" type="Camera" parent="."]
-transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.796127, 0 )
+transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.30045, 0 )
far = 5000.0
[node name="RayCast" type="RayCast" parent="Camera"]