extends "res://reviews/heels_v01/review_gait.gd" var secondary_time=0.0 func _init(): stride_min=.95;stride_max=1.15;track_width=.09;swing_height=.11 func ground_height(f):return actor.get_parent().global_position.y+f.rest.y*actor.global_basis.get_scale().y+.004 func update(dt): super.update(dt) secondary_time+=dt # Small delayed motion at rest and after each step, rooted at the back. var tail_angle=sin(secondary_time*.95)*.012+sin(phase*TAU-.9)*.024*walk_weight rotate_world("Tail",actor.global_basis.y,tail_angle) rotate_world("Tail",actor.global_basis.x,sin(secondary_time*.7)*.006) for side in ["L","R"]: var sign_x=1.0 if side=="L" else -1.0 rotate_world("Wing."+side,actor.global_basis.y,sign_x*sin(secondary_time*.8)*.010)