5 ## Linear speed of the projectile
6 @export var speed := 10.0
8 ## Direction the projectile will travel in
9 @export var direction: Vector3:
11 model.last_movement_vector = v
13 return model.last_movement_vector
15 ## Maximum distance from the origin point that the projectile will travel
16 @export var max_range := 30.0
18 ## Weapon which emitted the projectile
21 ## Collision layer for projectile
22 var collision_layer: int:
24 model.collision_layer = c
26 return model.collision_layer
29 ## Collision mask for projectile
30 var collision_mask: int:
32 model.collision_mask = c
34 return model.collision_mask
37 @onready var model: ProjectileModel = $Model
40 func _process(delta: float) -> void: