added projectile class and tweaked weapon uberscript
This commit is contained in:
12
scripts/projectile.gd
Normal file
12
scripts/projectile.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
extends RigidBody3D
|
||||
class_name Projectile
|
||||
|
||||
var player_position
|
||||
var player_velocity
|
||||
var bullet_active = true
|
||||
var bullet_damage
|
||||
var instance_bullethole
|
||||
var bullet_force_mod
|
||||
var bullet_speed
|
||||
var blast_power
|
||||
var blast_radius
|
||||
Reference in New Issue
Block a user