Add per-weapon scene and better first person view

This commit is contained in:
2025-01-25 17:24:57 +01:00
parent 1f1f2918c9
commit 1c8458048c
20 changed files with 3761 additions and 15 deletions

View File

@ -1,6 +1,6 @@
extends Node3D
const SPEED = 100
const SPEED = 715
@onready var mesh = $MeshInstance3D
@onready var ray = $RayCast3D
@ -13,7 +13,6 @@ func _ready() -> void:
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
print("bullet:")
position += transform.basis * Vector3(0, 0, SPEED) * delta
ray.collision_mask = 1
ray.enabled = 1