Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -275,8 +275,8 @@ func _activate_dash() -> void:
|
||||
_ability_timer = _bull_anim.get_animation(&"Armature|DASH").length
|
||||
var raw := cube_guy.global_transform.basis.z
|
||||
_dash_dir = Vector3(raw.x, 0.0, raw.z).normalized()
|
||||
velocity.x = _dash_dir.x * DP.f("dash_speed")
|
||||
velocity.z = _dash_dir.z * DP.f("dash_speed")
|
||||
velocity.x = _dash_dir.x * DP.f("dash_speed")*3
|
||||
velocity.z = _dash_dir.z * DP.f("dash_speed")*3
|
||||
_legs.set(&"charge_pitch_target", DP.f("charge_head_pitch"))
|
||||
if _huff_player:
|
||||
_huff_player.pitch_scale = randf_range(0.9, 1.1)
|
||||
|
||||
Reference in New Issue
Block a user