فهرست منبع

Added fixed joint to test entity (#189)

Signed-off-by: Michał Pełka <[email protected]>
Michał Pełka 2 سال پیش
والد
کامیت
031b965c2d

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 540 - 0
Project/Assets/Importer/myfirst.prefab


+ 27 - 0
Project/Assets/Kraken/apple_kraken_v1/apple_kraken_v1.prefab

@@ -3977,6 +3977,33 @@
                     "$type": "EditorLockComponent",
                     "$type": "EditorLockComponent",
                     "Id": 16272049984670614162
                     "Id": 16272049984670614162
                 },
                 },
+                "Component_[16901080131432660088]": {
+                    "$type": "EditorFixedJointComponent",
+                    "Id": 16901080131432660088,
+                    "Configuration": {
+                        "Parent Entity": "Entity_[126300968762012]",
+                        "Child Entity": "Entity_[49624638919053]"
+                    }
+                },
+                "Component_[17237199249672192650]": {
+                    "$type": "EditorRigidBodyComponent",
+                    "Id": 17237199249672192650,
+                    "Configuration": {
+                        "entityId": "",
+                        "Mass": 0.5235987901687622,
+                        "Inertia tensor": [
+                            0.0005235988064669073,
+                            0.0,
+                            0.0,
+                            0.0,
+                            0.0005235988064669073,
+                            0.0,
+                            0.0,
+                            0.0,
+                            0.0005235988064669073
+                        ]
+                    }
+                },
                 "Component_[17622040488620010506]": {
                 "Component_[17622040488620010506]": {
                     "$type": "EditorEntitySortComponent",
                     "$type": "EditorEntitySortComponent",
                     "Id": 17622040488620010506,
                     "Id": 17622040488620010506,

+ 27 - 0
Project/Assets/Kraken/apple_kraken_v2/apple_kraken_v2.prefab

@@ -4695,6 +4695,33 @@
                 "Component_[9476603463300257200]": {
                 "Component_[9476603463300257200]": {
                     "$type": "EditorEntityIconComponent",
                     "$type": "EditorEntityIconComponent",
                     "Id": 9476603463300257200
                     "Id": 9476603463300257200
+                },
+                "Component_[5589806606209403424]": {
+                    "$type": "EditorFixedJointComponent",
+                    "Id": 5589806606209403424,
+                    "Configuration": {
+                        "Parent Entity": "Entity_[126300968762012]",
+                        "Child Entity": "Entity_[49624638919053]"
+                    }
+                },
+                "Component_[9950297320598638205]": {
+                    "$type": "EditorRigidBodyComponent",
+                    "Id": 9950297320598638205,
+                    "Configuration": {
+                        "entityId": "",
+                        "Mass": 0.5235987901687622,
+                        "Inertia tensor": [
+                            0.0005235988064669073,
+                            0.0,
+                            0.0,
+                            0.0,
+                            0.0005235988064669073,
+                            0.0,
+                            0.0,
+                            0.0,
+                            0.0005235988064669073
+                        ]
+                    }
                 }
                 }
             }
             }
         },
         },

+ 51 - 5
Project/Levels/playground/playground.prefab

@@ -26,7 +26,8 @@
                     "Instance_[12778335461144]/ContainerEntity",
                     "Instance_[12778335461144]/ContainerEntity",
                     "Entity_[5326069303457]",
                     "Entity_[5326069303457]",
                     "Instance_[5798250064374]/ContainerEntity",
                     "Instance_[5798250064374]/ContainerEntity",
-                    "Entity_[10454073709875]"
+                    "Entity_[10454073709875]",
+                    "Instance_[34598695804924]/ContainerEntity"
                 ]
                 ]
             },
             },
             "Component_[15230859088967841193]": {
             "Component_[15230859088967841193]": {
@@ -705,7 +706,7 @@
                     "Controller": {
                     "Controller": {
                         "Configuration": {
                         "Configuration": {
                             "Field of View": 60.0,
                             "Field of View": 60.0,
-                            "EditorEntityId": 4316764856613180626
+                            "EditorEntityId": 16000656119588705004
                         }
                         }
                     }
                     }
                 },
                 },
@@ -3497,6 +3498,46 @@
                 }
                 }
             ]
             ]
         },
         },
+        "Instance_[34598695804924]": {
+            "Source": "Assets/Kraken/apple_kraken_v1/apple_kraken_v1.prefab",
+            "Patches": [
+                {
+                    "op": "replace",
+                    "path": "/ContainerEntity/Components/Component_[16951455423041694634]/Parent Entity",
+                    "value": "../Entity_[1146574390643]"
+                },
+                {
+                    "op": "replace",
+                    "path": "/ContainerEntity/Components/Component_[16951455423041694634]/Transform Data/Translate/0",
+                    "value": -5.258350849151611
+                },
+                {
+                    "op": "replace",
+                    "path": "/ContainerEntity/Components/Component_[16951455423041694634]/Transform Data/Translate/1",
+                    "value": -11.578788757324219
+                },
+                {
+                    "op": "replace",
+                    "path": "/ContainerEntity/Components/Component_[16951455423041694634]/Transform Data/Translate/2",
+                    "value": 0.0
+                },
+                {
+                    "op": "replace",
+                    "path": "/Entities/Entity_[126373983206044]/Components/Component_[17916227991713293347]/Child Entity Order/13",
+                    "value": "Instance_[16591474888826]/ContainerEntity"
+                },
+                {
+                    "op": "replace",
+                    "path": "/Entities/Entity_[126373983206044]/Components/Component_[17916227991713293347]/Child Entity Order/14",
+                    "value": "Instance_[15809790840954]/ContainerEntity"
+                },
+                {
+                    "op": "replace",
+                    "path": "/Entities/Entity_[126373983206044]/Components/Component_[17916227991713293347]/Child Entity Order/15",
+                    "value": "Instance_[16621539659898]/ContainerEntity"
+                }
+            ]
+        },
         "Instance_[5387454034805]": {
         "Instance_[5387454034805]": {
             "Source": "Assets/Importer/apple_kraken_5.prefab"
             "Source": "Assets/Importer/apple_kraken_5.prefab"
         },
         },
@@ -3521,12 +3562,17 @@
                 {
                 {
                     "op": "replace",
                     "op": "replace",
                     "path": "/ContainerEntity/Components/Component_[16951455423041694634]/Transform Data/Translate/2",
                     "path": "/ContainerEntity/Components/Component_[16951455423041694634]/Transform Data/Translate/2",
-                    "value": -16.012577056884766
+                    "value": 0.34189414978027344
+                },
+                {
+                    "op": "replace",
+                    "path": "/Entities/Entity_[126352508369564]/Components/Component_[1935418376842285128]/Child Entity Order/0",
+                    "value": "Entity_[2534338808675]"
                 },
                 },
                 {
                 {
                     "op": "replace",
                     "op": "replace",
-                    "path": "/Entities/Entity_[453802196716717]/Components/Component_[12122484710959107959]/Controller/Configuration/EditorEntityId",
-                    "value": 17278813162428804714
+                    "path": "/Entities/Entity_[126352508369564]/Components/Component_[1935418376842285128]/Child Entity Order/1",
+                    "value": "Entity_[2542928743267]"
                 }
                 }
             ]
             ]
         }
         }

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است