diff options
author | mikatomik <mikec_2007@hotmail.com> | 2022-09-12 02:31:37 -0400 |
---|---|---|
committer | mikatomik <mikec_2007@hotmail.com> | 2022-09-15 01:26:26 -0400 |
commit | 596309d76f30564c32b782439f9c5268ad9afc49 (patch) | |
tree | f79c96b32a547159b02dd11d61ab31e11797a2ca /character | |
parent | dff4ca391185726dcc96215fb0ce157ecda032fa (diff) | |
download | game_jam49-596309d76f30564c32b782439f9c5268ad9afc49.tar.gz game_jam49-596309d76f30564c32b782439f9c5268ad9afc49.zip |
Import and configure base model for ship
Basic working model of ship, barebones and placeholder
textures
Diffstat (limited to 'character')
-rw-r--r-- | character/fps_controller/fps_controller.gd | 4 | ||||
-rw-r--r-- | character/fps_controller/fps_controller.tscn | 3 |
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"] |