Nearl implemented: bullet rotation isn't working correctly.
This commit is contained in:
parent
a9af69e7bb
commit
f427bb0c8d
11 changed files with 161 additions and 9 deletions
|
|
@ -13,5 +13,5 @@ spacing = 20.0
|
|||
origin = -25
|
||||
horizontal_offset = 6.0
|
||||
stagger_offset = 5.5
|
||||
angle = 2.0
|
||||
rotate_to_velocity = false
|
||||
metadata/_custom_type_script = "uid://7n1itonn35fm"
|
||||
|
|
|
|||
|
|
@ -17,3 +17,4 @@ class_name WeaponShot extends Resource
|
|||
|
||||
# Angle in degrees, default is 0
|
||||
@export var angle: float = 0.0 # Angle at which the bullet should be fired
|
||||
@export var rotate_to_velocity: bool = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue