技能碰撞改回物理碰撞

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

@@ -24,18 +24,21 @@
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
}
],
"_prefab": {
"__id__": 14
"__id__": 18
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -82,10 +85,13 @@
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 7
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -130,8 +136,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 91,
"height": 325
"width": 28,
"height": 99
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -166,7 +172,10 @@
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_spriteFrame": {
"__uuid__": "45af5702-7585-4d72-85cf-d7b8da02d832@03573",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 1,
@@ -186,6 +195,40 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "b9QUlReiVJ7ZDxbXwpC4IM"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"tag": 8,
"_group": 4,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 0.6,
"y": -4.4
},
"_size": {
"__type__": "cc.Size",
"width": 17.4,
"height": 72.8
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "98kntZOmtNl5tixo7luVjU"
},
{
"__type__": "cc.PrefabInfo",
"root": {
@@ -209,7 +252,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 9
"__id__": 11
},
"_contentSize": {
"__type__": "cc.Size",
@@ -237,7 +280,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 11
"__id__": 13
},
"_id": ""
},
@@ -255,7 +298,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 13
"__id__": 15
},
"playOnLoad": true,
"_clips": [
@@ -274,6 +317,40 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "02vCVFFYtJl6v3JAJsnnzv"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"enabledContactListener": true,
"bullet": false,
"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": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "eaepj2mQFP9qzyzp0v4cor"
},
{
"__type__": "cc.PrefabInfo",
"root": {