Add per-weapon scene and better first person view
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user