added projectile class and tweaked weapon uberscript

This commit is contained in:
derek
2025-03-04 12:01:14 -06:00
parent 8fbd79eac3
commit cc1500e7fd
16 changed files with 922 additions and 166 deletions

View File

@@ -1,16 +1,10 @@
extends RigidBody3D
extends Projectile
@export var explosion : Resource
@export var blast_radius_area : Node
@export var radius_shape : Node
@export var blast_radius_falloff : Resource
var blast_power
var blast_radius
var bullet_speed
var player_velocity
var bullet_damage
var player_position
# Called when the node enters the scene tree for the first time.
func _ready():