third level + km/h display
This commit is contained in:
parent
203696e022
commit
c19d1dffcb
27 changed files with 713 additions and 40 deletions
|
@ -10,7 +10,7 @@ var player_ready = false
|
|||
const normal = 7
|
||||
const stronger = normal * 3
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
func _input(_event: InputEvent) -> void:
|
||||
if player_ready:
|
||||
var grav = stronger if Input.is_key_pressed(KEY_SHIFT) else normal
|
||||
PhysicsServer3D.area_set_param(get_viewport().find_world_3d().space, PhysicsServer3D.AREA_PARAM_GRAVITY, grav)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue