extends PushingBodyPart onready var anim = get_node("Mesh/AnimationPlayer") # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Replace with function body. func action(): anim.play("ArmatureAction001") func push(body): # We multiply by 0.1 because we only want it to spin slightly, it should mostly go up base.apply_impulse(transform.basis.xform(touch_area.global_transform.origin) * 0.1, base.transform.basis.y * 5.0) # Called every frame. 'delta' is the elapsed time since the previous frame. #func _process(delta: float) -> void: # pass