fix(技能): 调整贝塞尔曲线起始高度并修复范围技能目标位置

当技能类型为贝塞尔曲线时,直接使用最近敌人的位置作为目标位置,避免范围技能目标位置计算错误。同时将贝塞尔曲线的起始高度从18调整为25,以优化技能表现。
This commit is contained in:
panw
2026-03-30 16:48:30 +08:00
parent bbced29a0e
commit 3d97da8271
2 changed files with 5 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ export class SMoveDataComp extends ecs.Comp {
/** 贝塞尔曲线控制点 */
controlPoint: Vec3 = v3(0, 0, 0);
bezierStartHeight: number = 18;
bezierStartHeight: number = 25;
bezierMidHeight: number = 140;
bezierArc: number = 1;