15 lines
367 B
GDScript
15 lines
367 B
GDScript
extends Node
|
|
|
|
onready var OnFootPhysics = get_node("../../../../../OnFootPhysics")
|
|
onready var Floor = get_node("../../../../../OnFootPhysics/Floor")
|
|
var has_played = false
|
|
|
|
func _process(_delta):
|
|
if OnFootPhysics.is_falling_terminally:
|
|
if not has_played:
|
|
$FOVAnimation.play("fov")
|
|
has_played = true
|
|
return
|
|
has_played = false
|
|
$FOVAnimation.play("RESET")
|