去掉物理碰撞组件,英雄的移动改由系统逻辑统一处理

This commit is contained in:
walkpan
2025-02-02 16:28:19 +08:00
parent e571ae2caf
commit 00148863ad
82 changed files with 397 additions and 5831 deletions

View File

@@ -59,16 +59,10 @@
},
{
"__id__": 89
},
{
"__id__": 91
},
{
"__id__": 93
}
],
"_prefab": {
"__id__": 95
"__id__": 91
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1352,74 +1346,6 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "14OhXRCixNOaApgow/hFbp"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 86
},
"enabledContactListener": true,
"bullet": true,
"awakeOnLoad": true,
"_group": 4,
"_type": 1,
"_allowSleep": false,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8rVs6intBQ7lRU8Dw4zXV"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 88
},
"tag": 0,
"_group": 4,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 37.7
},
"_size": {
"__type__": "cc.Size",
"width": 50.8,
"height": 78.6
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "a0379fmhvBHcbNcBF/l43O8",
"_name": "",
@@ -1430,7 +1356,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 90
"__id__": 86
},
"anm": {
"__id__": 22
@@ -1451,7 +1377,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 92
"__id__": 88
},
"_id": ""
},
@@ -1469,7 +1395,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 94
"__id__": 90
},
"_id": ""
},