annimation
This commit is contained in:
@@ -16,7 +16,7 @@ extends CharacterBody3D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
|
||||
time_hand = cooldown
|
||||
Input.mouse_mode = Input.MOUSE_MODE_CAPTURED
|
||||
add_to_group("player")
|
||||
|
||||
@@ -43,7 +43,7 @@ func _physics_process(delta: float) -> void:
|
||||
else:
|
||||
vect = (checkpoint.position - position).normalized() * SPEED_PARTICULES
|
||||
particules.process_material.set("gravity", vect)
|
||||
particules.emitting = true
|
||||
|
||||
anim.play("finger")
|
||||
|
||||
var input_dir := Input.get_vector("left", "right", "up", "down")
|
||||
|
||||
Reference in New Issue
Block a user