技能碰撞改回物理碰撞

This commit is contained in:
panfudan
2025-03-30 16:59:40 +08:00
parent 67704725b2
commit 798a831227
85 changed files with 13428 additions and 7394 deletions

View File

@@ -28,7 +28,7 @@ export class BattleMoveSystem extends ecs.ComblockSystem implements ecs.ISystemU
this.updateRenderOrder(e);
// 同步状态
if (!shouldStop) {
if (!shouldStop&&view.fac==1) {
if(view.is_stop||view.is_dead) return //停止移动或者死亡不移动
// 计算移动量
const delta = (view.speed/3) * this.dt * move.direction;