Implemented jumps

This commit is contained in:
2024-01-26 22:45:26 +01:00
parent 48b8011199
commit f4e44c5882
9 changed files with 61 additions and 10 deletions

View File

@ -1,6 +1,8 @@
class_name Character
extends CharacterBody3D
signal jumped
@export var model: Node3D
@export var move_speed: float = 4.5
@export var rotation_speed: float = 20.0
@ -37,6 +39,7 @@ func jump():
return
velocity.y = JUMP_VELOCITY
jumped.emit()
func dash():
print("dash")