去掉物理碰撞组件,英雄的移动改由系统逻辑统一处理
This commit is contained in:
@@ -62,13 +62,10 @@
|
||||
},
|
||||
{
|
||||
"__id__": 91
|
||||
},
|
||||
{
|
||||
"__id__": 93
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 95
|
||||
"__id__": 93
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -1352,40 +1349,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": "",
|
||||
@@ -1396,7 +1359,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 88
|
||||
"__id__": 86
|
||||
},
|
||||
"tag": 0,
|
||||
"_group": 4,
|
||||
@@ -1430,7 +1393,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 90
|
||||
"__id__": 88
|
||||
},
|
||||
"anm": {
|
||||
"__id__": 22
|
||||
@@ -1451,7 +1414,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 92
|
||||
"__id__": 90
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -1469,7 +1432,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 94
|
||||
"__id__": 92
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user