fix(gameplay): 优化敌人碰撞体与新手教程瞄准

- 扩大并重叠 14 个 Enemy 的胸腹部碰撞体
- 消除自动锁定点位于碰撞体边缘的问题
- 移除教程中写死的相机瞄准角度
- 根据目标实时位置动态调整教程相机
- 自动选择与初始镜头夹角最小的存活敌人
- 同步瞄准状态,避免后续滑动发生角度跳变
This commit is contained in:
2026-07-21 19:05:38 +08:00
parent b283097c03
commit 9deac44a1e
20 changed files with 203 additions and 190 deletions
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "d50DO+lKpPWLVMK/HsidFB"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "04l7UdTa9PxqdYrAekTlpM"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "00dPV63vFF6a+06pX9iObI"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "43YALw+7NO57es6oxh9N0s"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "6dpR3pw99Pb7kGKOC/cwLn"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "1a15FB1BpBu4qYMcSMtBvE"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "b1RUCQOEdDIbpsOdW/yDiE"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "9crNqpfBNHBKZ4M/QNwRhv"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "b8I1I8WlBB5r/WYqeSo5XI"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "dbVGcTsLhHpKJzE57V45d7"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "77UoENSDdDz7lkU+r28Sec"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "bf/wWvOv5JqaS6r8wb/BQ1"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "6cLcsSQ3VMQ5dmjvtgfV5Z"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "bcKWdmWG9Drb69dtRDAEO9"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "ebczjSs+pD0Z2BJmjB+f1C"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "5bH1hMFGJIprqC4+yVk7i7"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "a1VE/MQABFKrF+N8hXAXTJ"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "8d6f9oVexKAYzh5wb22PUp"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "47xVpvzJpCVJUysKEswOyM"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "c4qV7TVWxCN7dqxOlGae/R"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "2e4AkzIWNH164N98NHMwf9"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "1dl/irwDpM8orl1bhiIB7I"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "30HuK0tnhIr6P/MMdDtPzw"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "81PPETs2tJLLhCx4+iQC92"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "9bPKh3OsxMnZl7RtmG1ZOx"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "02SxT1YqVAh6Zc1Y9varnJ"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "7bHpn9uFFCrqVCqIMyvW6j"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "f3av3Aay5MbI8D0D3TXALg"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "95WnL+sX9Lx4Q4j7KHonrE"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "3aSnL07X1Bf5sRg57fmcWh"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "4388CZJx5N2px5rYCVMlKe"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "8fy/geFdlIg4x1F7nTFsJI"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "a1OA8jvutInJXYnF/ZJqQz"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "c18isQeRlNzKzCwrI0BcI/"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "eenOAqh4RH5Kzw/t6jqLTu"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "1coWGf9gJJ8K2+Im0a36vP"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "d13KNIHbhNoqSsL40jNucE"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "34CTA01gNGaYKM9Ly39e6S"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "1bsATL7SpL66qZDWrVUggk"
},
+12 -12
View File
@@ -2068,14 +2068,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.002,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.011,
"z": 0.009
"x": 0.016,
"y": 0.018,
"z": 0.013
},
"_id": "8ak3617gJI5J+3gew3map0"
},
@@ -2191,14 +2191,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00532,
"y": 0.003,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.011,
"y": 0.011,
"z": 0.009
"x": 0.015,
"y": 0.017,
"z": 0.012
},
"_id": "fbHhBbrIpFa6KsaMv3wH1s"
},
@@ -3968,14 +3968,14 @@
"_center": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0.00456,
"y": 0.0035,
"z": 0
},
"_size": {
"__type__": "cc.Vec3",
"x": 0.012,
"y": 0.012,
"z": 0.01
"x": 0.014,
"y": 0.016,
"z": 0.012
},
"_id": "07TR+fVYxE65rOdWChdMSe"
},