fix: 调整英雄碰撞体积和技能配置以修复命中判定

- 统一多个英雄prefab的碰撞宽度从60改为30,优化碰撞检测
- 调整hz1英雄的_contentSize高度从10改为100,修正显示问题
- 修改atk_s1、atk_s4、atk_f2技能prefab的激活状态和碰撞器启用状态
- 移除EType枚举中的distanceEnd类型,将技能6001的消失类型改为collision
- 启用物理系统调试绘制,便于开发调试
- 调整atk_f2技能的攻击范围和锚点位置,优化技能表现
This commit is contained in:
panw
2026-03-19 16:08:07 +08:00
parent a2e3dd4924
commit e2cac41753
16 changed files with 41 additions and 40 deletions

View File

@@ -906,7 +906,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -778,7 +778,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -778,7 +778,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -754,7 +754,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -778,7 +778,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -778,7 +778,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -666,7 +666,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 10
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -778,7 +778,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -775,7 +775,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 90
},
"_id": ""

View File

@@ -775,7 +775,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 80
},
"_id": ""

View File

@@ -754,7 +754,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -1051,7 +1051,7 @@
},
"_size": {
"__type__": "cc.Size",
"width": 60,
"width": 30,
"height": 100
},
"_id": ""

View File

@@ -210,6 +210,8 @@
"__id__": 0
},
"fileId": "3arqAMBz1MvoXBzeDaL5M/",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
@@ -221,7 +223,7 @@
"__id__": 1
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 9
@@ -238,7 +240,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 40,
"x": 0,
"y": 0,
"z": 0
},
@@ -279,13 +281,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 80,
"height": 100
"width": 200,
"height": 200
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
"y": 0.5
},
"_id": ""
},
@@ -301,7 +303,7 @@
"node": {
"__id__": 8
},
"_enabled": false,
"_enabled": true,
"__prefab": {
"__id__": 12
},
@@ -352,10 +354,10 @@
},
"_alignFlags": 45,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_left": -60,
"_right": -60,
"_top": -50,
"_bottom": -50,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -406,8 +408,8 @@
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"x": 0.5,
"y": 0.5
},
"_id": ""
},
@@ -519,13 +521,13 @@
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 50,
"y": 50
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 100,
"height": 199.9
"width": 300,
"height": 200
},
"_id": ""
},

View File

@@ -217,7 +217,7 @@
"__id__": 1
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 9
@@ -297,7 +297,7 @@
"node": {
"__id__": 8
},
"_enabled": false,
"_enabled": true,
"__prefab": {
"__id__": 12
},

View File

@@ -220,7 +220,7 @@
"__id__": 1
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 9
@@ -300,7 +300,7 @@
"node": {
"__id__": 8
},
"_enabled": false,
"_enabled": true,
"__prefab": {
"__id__": 12
},