fix(parity): implement ground click ripple, target select glow, and 3D projectile obstacle collision with regression probes

This commit is contained in:
shen
2026-09-19 17:01:50 -07:00
parent 66d217b313
commit 5d43682498
6 changed files with 357 additions and 6 deletions
+2
View File
@@ -10,6 +10,7 @@ extends Node
signal anim_state(state: String)
signal target_selected(node: Node3D)
signal ground_clicked(world_pos: Vector3)
signal ground_item_clicked(vid: int)
signal moved(pos: Vector3)
# game.py OnRenderwndMgr.IsPickedWindow 门内 chr.Pick() 拾到的角色 -> ShowCharacterTextTail。
@@ -251,6 +252,7 @@ func _on_click(screen_pos: Vector2) -> void:
return
if cancel_fishing_input.is_valid() and bool(cancel_fishing_input.call()):
return
ground_clicked.emit(Vector3(hit.x, hit.y, hit.z))
_goto(hit)
# 射线 vs 实体(节点下所有 MeshInstance3D 的世界 AABB 合并)的进入距离 t;不命中返回 -1。