Unsafe shootage
This commit is contained in:
parent
cc26793ab6
commit
a046ae5288
8 changed files with 27 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
extends CharacterBody3D
|
||||
|
||||
class_name Player
|
||||
|
||||
const MAX_HP = 100
|
||||
|
||||
@export var hp: int = 100:
|
||||
|
|
|
|||
5
scripts/player/player_raycast.gd
Normal file
5
scripts/player/player_raycast.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends RayCast3D
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
add_exception($"../..")
|
||||
1
scripts/player/player_raycast.gd.uid
Normal file
1
scripts/player/player_raycast.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://6c14qse4vnra
|
||||
Loading…
Add table
Add a link
Reference in a new issue