Remove heavy models and clean the project up
This commit is contained in:
@ -17,7 +17,6 @@ func _process(delta):
|
||||
ray.collision_mask = 1
|
||||
ray.enabled = 1
|
||||
if ray.is_colliding():
|
||||
print("col")
|
||||
mesh.visible = false
|
||||
particles.emitting = true
|
||||
await get_tree().create_timer(1.0).timeout
|
||||
|
@ -3,9 +3,9 @@ extends Node3D
|
||||
var bullet = load("res://scenes/weapon/bullet.tscn")
|
||||
var instance
|
||||
|
||||
@onready var gun_anim = $Pistol/DEAGLE/GunAnimation
|
||||
@onready var gun_anim = $Pistol/Deagle/GunAnimation
|
||||
#@onready var gun_barrel = $DEAGLE/CSGSphere3D
|
||||
@onready var gun_barrel = $Pistol/DEAGLE/RayCast3D
|
||||
@onready var gun_barrel = $Pistol/Deagle/RayCast3D
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user