fix boot animation

This commit is contained in:
2026-04-23 17:08:14 +03:00
parent 6b7294dfd8
commit fb3b653604
2 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -214,9 +214,10 @@ func set_aim_direction(yaw_rad: float) -> void:
_is_aiming = true
func _play_kick_blend() -> void:
var tw := create_tween()
var tw := create_tween().set_parallel(true)
tw.tween_method(func(v: float): mesh_node.set_blend_shape_value(0, v), 0.0, 1.0, 0.12)
tw.tween_method(func(v: float): mesh_node_boot.set_blend_shape_value(0, v), 0.0, 1.0, 0.12)
tw.chain()
tw.tween_method(func(v: float): mesh_node.set_blend_shape_value(0, v), 1.0, 0.0, 0.28)
tw.tween_method(func(v: float): mesh_node_boot.set_blend_shape_value(0, v), 1.0, 0.0, 0.28)