door between segements are placed and rotated correctly :3

This commit is contained in:
Tabby 2025-08-08 20:12:11 +10:00
parent 1c0fbf3d69
commit 5197d10172
7 changed files with 96 additions and 2 deletions

View file

@ -6,6 +6,7 @@ var direction : Vector2 = Vector2.RIGHT
var want_direction : Vector2 = Vector2.RIGHT
@export var next_segment : Node2D
@export var door : Node2D
var start_pos : Vector2
var target_pos : Vector2
var move_progress : float