From dd3eb605b59c7aaf58d2e0463e4b5cf0c9510927 Mon Sep 17 00:00:00 2001 From: yangbear Date: Fri, 3 Jul 2026 14:15:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ping=E8=BE=B9=E6=A1=86=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=E6=94=B9=E7=94=A8transform.position.y=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=AE=9E=E9=99=85Y=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Scripts/Interaction/PingClickHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/Interaction/PingClickHandler.cs b/Assets/Scripts/Interaction/PingClickHandler.cs index 83f1008..4a61bdc 100644 --- a/Assets/Scripts/Interaction/PingClickHandler.cs +++ b/Assets/Scripts/Interaction/PingClickHandler.cs @@ -56,7 +56,7 @@ public class PingClickHandler : MonoBehaviour Bounds b; if (_meshRenderer != null) b = _meshRenderer.bounds; else b = new Bounds(transform.position, new Vector3(0.3f, 0.01f, 0.3f)); - float y = b.center.y + 0.05f; + float y = transform.position.y + 0.1f; Vector3 p0 = new Vector3(b.min.x, y, b.min.z); Vector3 p1 = new Vector3(b.min.x, y, b.max.z); Vector3 p2 = new Vector3(b.max.x, y, b.max.z);