mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-13 07:25:06 +00:00
✨ Basic implementation of IFF indicators showing player names and health bars
This commit is contained in:
parent
424c01bc02
commit
7e52ededc0
7 changed files with 114 additions and 43 deletions
|
|
@ -10,7 +10,7 @@ func _ready():
|
|||
fire.emitting = true
|
||||
|
||||
func _physics_process(_delta):
|
||||
var bodies = area_damage.get_overlapping_bodies()
|
||||
var bodies = area_damage.get_overlapping_bodies() if area_damage.monitoring else []
|
||||
for body in bodies:
|
||||
if body is RigidBody3D:
|
||||
var direction = (body.global_position - global_position).normalized()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue