fix boot animation
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user