Refine movement, water recovery, and UI baseline
This commit is contained in:
parent
d2fe367891
commit
e2067e3bf4
23 changed files with 905 additions and 146 deletions
9
world/safe_respawn_point.gd
Normal file
9
world/safe_respawn_point.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
class_name SafeRespawnPoint
|
||||
extends Marker3D
|
||||
|
||||
@export var enabled: bool = true
|
||||
|
||||
|
||||
func get_horizontal_distance_squared(world_position: Vector3) -> float:
|
||||
var offset: Vector3 = global_position - world_position
|
||||
return Vector2(offset.x, offset.z).length_squared()
|
||||
Loading…
Add table
Add a link
Reference in a new issue