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,12 +1,5 @@
extends RigidBody3D
extends Projectile
var player_position
var player_velocity
var bullet_active = true
var bullet_damage
var instance_bullethole
var bullet_force_mod
var bullet_speed
@onready var mesh = $Cylinder
@onready var particles = $GPUParticles3D