2022-11-29 18:18:57 -07:00
|
|
|
extends Node
|
|
|
|
|
|
|
|
onready var OnFootPhysics = get_node("../../../../../OnFootPhysics")
|
2022-12-11 17:02:57 -07:00
|
|
|
onready var Floor = get_node("../../../../../OnFootPhysics/Floor")
|
2022-11-29 18:18:57 -07:00
|
|
|
|
|
|
|
func _process(_delta):
|
2022-12-11 17:02:57 -07:00
|
|
|
if OnFootPhysics.velocity.y >= 0.0 or Floor.is_on_floor:
|
|
|
|
$FOVAnimation.play("RESET")
|
|
|
|
return
|
|
|
|
$FOVAnimation.play("fov")
|