tweak speed and angles
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user