tweak speed and angles

This commit is contained in:
2025-02-25 04:21:10 +10:00
parent 2322d8ff62
commit cc5f2acc17
3 changed files with 4 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ enum Side { RIGHT, LEFT }
@export_group("Hits")
@export var _hit_projectile_speed: float = 35
@export var _direction_angles: Dictionary = {-PI / 6: 0, PI / 6: PI / 4, PI: PI / 2}
@export var _direction_angles: Dictionary = {-PI / 8: 0, PI / 8: PI / 4, PI: PI / 2}
var side := Side.RIGHT
@@ -86,7 +86,7 @@ func _process(delta: float) -> void:
+ global_basis.z.rotated(Vector3.UP, -_attack_max_angle) * _attack_radius
)
)
for dir_angle: float in _direction_angles:
for dir_angle: float in _direction_angles.keys():
Debugger.line(
"fghdh3" + str(dir_angle),
global_position,