diff --git a/Gems/NvCloth/Assets/prefabs/Cloth/Chicken_Actor.prefab b/Gems/NvCloth/Assets/prefabs/Cloth/Chicken_Actor.prefab new file mode 100644 index 0000000000..c48dcec36c --- /dev/null +++ b/Gems/NvCloth/Assets/prefabs/Cloth/Chicken_Actor.prefab @@ -0,0 +1,312 @@ +{ + "ContainerEntity": { + "Id": "ContainerEntity", + "Name": "Chicken_Actor", + "Components": { + "Component_[10420060158469409859]": { + "$type": "EditorVisibilityComponent", + "Id": 10420060158469409859 + }, + "Component_[10713261435043694267]": { + "$type": "EditorOnlyEntityComponent", + "Id": 10713261435043694267 + }, + "Component_[11088054817315996737]": { + "$type": "EditorLockComponent", + "Id": 11088054817315996737 + }, + "Component_[14341334118593165562]": { + "$type": "EditorInspectorComponent", + "Id": 14341334118593165562 + }, + "Component_[15143425594853321191]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 15143425594853321191, + "Parent Entity": "", + "Cached World Transform Parent": "" + }, + "Component_[15383315993246423867]": { + "$type": "EditorPrefabComponent", + "Id": 15383315993246423867 + }, + "Component_[16499127605624407101]": { + "$type": "EditorEntitySortComponent", + "Id": 16499127605624407101 + }, + "Component_[16697571480493454144]": { + "$type": "SelectionComponent", + "Id": 16697571480493454144 + }, + "Component_[415761541071751882]": { + "$type": "EditorPendingCompositionComponent", + "Id": 415761541071751882 + }, + "Component_[7972775450040391034]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 7972775450040391034 + }, + "Component_[9910169802741330341]": { + "$type": "EditorEntityIconComponent", + "Id": 9910169802741330341 + } + }, + "IsDependencyReady": true + }, + "Entities": { + "Entity_[48421054243702]": { + "Id": "Entity_[48421054243702]", + "Name": "Chicken_Actor", + "Components": { + "Component_[10024659544266822060]": { + "$type": "EditorInspectorComponent", + "Id": 10024659544266822060, + "ComponentOrderEntryArray": [ + { + "ComponentId": 3250661421529612274 + }, + { + "ComponentId": 4381463095952282089, + "SortIndex": 1 + }, + { + "ComponentId": 13550968986158933154, + "SortIndex": 2 + }, + { + "ComponentId": 11536283465461048726, + "SortIndex": 3 + }, + { + "ComponentId": 7689190671460963527, + "SortIndex": 4 + } + ] + }, + "Component_[11465635386953249015]": { + "$type": "EditorLockComponent", + "Id": 11465635386953249015 + }, + "Component_[11536283465461048726]": { + "$type": "EditorSimpleMotionComponent", + "Id": 11536283465461048726, + "Configuration": { + "MotionAsset": { + "assetId": { + "guid": "{37045429-A151-5646-97CF-BE931A35C0FC}", + "subId": 2264735902 + }, + "assetHint": "objects/cloth/chicken/motions/chickenidle.motion" + }, + "Loop": true + } + }, + "Component_[13550968986158933154]": { + "$type": "EditorMaterialComponent", + "Id": 13550968986158933154, + "Controller": { + "Configuration": { + "materials": [ + { + "Key": { + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 668669130 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{FB34D8F7-E8CA-542D-92A3-F0E04F3A3EC3}" + }, + "assetHint": "objects/cloth/chicken/actor/chicken_chicken_body_mat.azmaterial" + } + } + }, + { + "Key": { + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 1541321207 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{6114C408-26EE-51DC-8733-A07800BF4991}" + }, + "assetHint": "objects/cloth/chicken/actor/chicken_chicken_eye_mat.azmaterial" + } + } + }, + { + "Key": { + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 2608524672 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{80F92051-203E-52CE-B4D6-E3AED21795C9}" + }, + "assetHint": "objects/cloth/chicken/actor/chicken_mohawkmat.azmaterial" + } + } + } + ] + } + }, + "materialSlots": [ + { + "id": { + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 668669130 + } + }, + "materialAsset": { + "assetId": { + "guid": "{FB34D8F7-E8CA-542D-92A3-F0E04F3A3EC3}" + }, + "assetHint": "objects/cloth/chicken/actor/chicken_chicken_body_mat.azmaterial" + } + }, + { + "id": { + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 1541321207 + } + }, + "materialAsset": { + "assetId": { + "guid": "{6114C408-26EE-51DC-8733-A07800BF4991}" + }, + "assetHint": "objects/cloth/chicken/actor/chicken_chicken_eye_mat.azmaterial" + } + }, + { + "id": { + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 2608524672 + } + }, + "materialAsset": { + "assetId": { + "guid": "{80F92051-203E-52CE-B4D6-E3AED21795C9}" + }, + "assetHint": "objects/cloth/chicken/actor/chicken_mohawkmat.azmaterial" + } + } + ], + "materialSlotsByLod": [ + [ + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 668669130 + } + } + }, + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 1541321207 + } + } + }, + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 2608524672 + } + } + } + ] + ] + }, + "Component_[14277098884859902099]": { + "$type": "EditorPendingCompositionComponent", + "Id": 14277098884859902099 + }, + "Component_[2153976993809262425]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 2153976993809262425 + }, + "Component_[3250661421529612274]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 3250661421529612274, + "Parent Entity": "ContainerEntity", + "Cached World Transform": { + "Translation": [ + -8.559586524963379, + -1.2393379211425782, + 0.043556928634643558 + ], + "Rotation": [ + 0.0, + 0.0, + 1.0, + 0.0 + ] + }, + "Cached World Transform Parent": "ContainerEntity" + }, + "Component_[363579226643870873]": { + "$type": "EditorEntityIconComponent", + "Id": 363579226643870873 + }, + "Component_[4381463095952282089]": { + "$type": "EditorActorComponent", + "Id": 4381463095952282089, + "ActorAsset": { + "assetId": { + "guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}", + "subId": 166954688 + }, + "loadBehavior": "QueueLoad", + "assetHint": "objects/cloth/chicken/actor/chicken.actor" + }, + "MaterialPerLOD": [ + {} + ], + "AttachmentTarget": "" + }, + "Component_[4892122740022910835]": { + "$type": "SelectionComponent", + "Id": 4892122740022910835 + }, + "Component_[5646397145899865599]": { + "$type": "EditorVisibilityComponent", + "Id": 5646397145899865599 + }, + "Component_[6526021153484129377]": { + "$type": "EditorOnlyEntityComponent", + "Id": 6526021153484129377 + }, + "Component_[7689190671460963527]": { + "$type": "EditorClothComponent", + "Id": 7689190671460963527, + "Configuration": { + "Mesh Node": "chicken_mohawk", + "Mass": 4.0, + "Remove Static Triangles": false + } + }, + "Component_[7705494469103394865]": { + "$type": "EditorEntitySortComponent", + "Id": 7705494469103394865 + } + }, + "IsDependencyReady": true + } + } +} \ No newline at end of file diff --git a/Gems/NvCloth/Assets/prefabs/Cloth/cloth_blinds.prefab b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_blinds.prefab new file mode 100644 index 0000000000..de6dba6399 --- /dev/null +++ b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_blinds.prefab @@ -0,0 +1,221 @@ +{ + "ContainerEntity": { + "Id": "ContainerEntity", + "Name": "cloth_blinds", + "Components": { + "Component_[11710159740232621436]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 11710159740232621436 + }, + "Component_[12700834211830506265]": { + "$type": "EditorInspectorComponent", + "Id": 12700834211830506265 + }, + "Component_[1332207344633534847]": { + "$type": "EditorPrefabComponent", + "Id": 1332207344633534847 + }, + "Component_[15674607824372989481]": { + "$type": "SelectionComponent", + "Id": 15674607824372989481 + }, + "Component_[17830258131678226250]": { + "$type": "EditorPendingCompositionComponent", + "Id": 17830258131678226250 + }, + "Component_[2739137831523757464]": { + "$type": "EditorOnlyEntityComponent", + "Id": 2739137831523757464 + }, + "Component_[6200331447094468978]": { + "$type": "EditorEntityIconComponent", + "Id": 6200331447094468978 + }, + "Component_[6469357969320867250]": { + "$type": "EditorLockComponent", + "Id": 6469357969320867250 + }, + "Component_[7557343481632459660]": { + "$type": "EditorVisibilityComponent", + "Id": 7557343481632459660 + }, + "Component_[8407841941984260302]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 8407841941984260302, + "Parent Entity": "", + "Cached World Transform Parent": "" + }, + "Component_[8679209570517497730]": { + "$type": "EditorEntitySortComponent", + "Id": 8679209570517497730 + } + }, + "IsDependencyReady": true + }, + "Entities": { + "Entity_[2310285353846]": { + "Id": "Entity_[2310285353846]", + "Name": "cloth_blinds", + "Components": { + "Component_[11484820910614012211]": { + "$type": "EditorOnlyEntityComponent", + "Id": 11484820910614012211 + }, + "Component_[12758934717931799496]": { + "$type": "EditorEntitySortComponent", + "Id": 12758934717931799496 + }, + "Component_[14636776520633084007]": { + "$type": "EditorClothComponent", + "Id": 14636776520633084007, + "Configuration": { + "Mesh Node": "pPlane1", + "Update Normals of Static Particles": true, + "Wind Velocity": [ + 0.0, + 10.0, + 0.0 + ], + "Stiffness Frequency": 1.0 + } + }, + "Component_[15643606068434059364]": { + "$type": "EditorLockComponent", + "Id": 15643606068434059364 + }, + "Component_[1802437050375983597]": { + "$type": "EditorEntityIconComponent", + "Id": 1802437050375983597 + }, + "Component_[2246969288668584020]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 2246969288668584020 + }, + "Component_[3349689287441689089]": { + "$type": "EditorPendingCompositionComponent", + "Id": 3349689287441689089 + }, + "Component_[4761242843736319995]": { + "$type": "EditorMaterialComponent", + "Id": 4761242843736319995, + "Controller": { + "Configuration": { + "materials": [ + { + "Key": { + "materialAssetId": { + "guid": "{C3078003-51DA-5D8E-B311-38C426480DD2}", + "subId": 902256226 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{6BFA7C7C-AF9F-5B12-8B30-6B6ECE9BAB9E}" + }, + "assetHint": "objects/cloth/environment/cloth_blinds.azmaterial" + } + } + } + ] + } + }, + "materialSlots": [ + { + "id": { + "materialAssetId": { + "guid": "{C3078003-51DA-5D8E-B311-38C426480DD2}", + "subId": 902256226 + } + }, + "materialAsset": { + "assetId": { + "guid": "{6BFA7C7C-AF9F-5B12-8B30-6B6ECE9BAB9E}" + }, + "assetHint": "objects/cloth/environment/cloth_blinds.azmaterial" + } + } + ], + "materialSlotsByLod": [ + [ + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{C3078003-51DA-5D8E-B311-38C426480DD2}", + "subId": 902256226 + } + } + } + ] + ] + }, + "Component_[7102112177384882498]": { + "$type": "EditorInspectorComponent", + "Id": 7102112177384882498, + "ComponentOrderEntryArray": [ + { + "ComponentId": 8287798504585048292 + }, + { + "ComponentId": 7500992507704969518, + "SortIndex": 1 + }, + { + "ComponentId": 4761242843736319995, + "SortIndex": 2 + }, + { + "ComponentId": 14636776520633084007, + "SortIndex": 3 + } + ] + }, + "Component_[7262445215578128559]": { + "$type": "EditorVisibilityComponent", + "Id": 7262445215578128559 + }, + "Component_[7500992507704969518]": { + "$type": "AZ::Render::EditorMeshComponent", + "Id": 7500992507704969518, + "Controller": { + "Configuration": { + "ModelAsset": { + "assetId": { + "guid": "{C3078003-51DA-5D8E-B311-38C426480DD2}", + "subId": 283342727 + }, + "assetHint": "objects/cloth/environment/cloth_blinds.azmodel" + } + } + } + }, + "Component_[8287798504585048292]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 8287798504585048292, + "Parent Entity": "ContainerEntity", + "Cached World Transform": { + "Translation": [ + -5.723679542541504, + -2.6300342082977297, + 1.938896894454956 + ] + }, + "Cached World Transform Parent": "ContainerEntity", + "Transform Data": { + "Translate": [ + -6.210474491119385, + 0.0, + 2.0854623317718508 + ] + } + }, + "Component_[9830203766948851058]": { + "$type": "SelectionComponent", + "Id": 9830203766948851058 + } + }, + "IsDependencyReady": true + } + } +} \ No newline at end of file diff --git a/Gems/NvCloth/Assets/prefabs/Cloth/cloth_blinds_broken.prefab b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_blinds_broken.prefab new file mode 100644 index 0000000000..c4caf4ff4c --- /dev/null +++ b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_blinds_broken.prefab @@ -0,0 +1,214 @@ +{ + "ContainerEntity": { + "Id": "ContainerEntity", + "Name": "cloth_blinds_broken", + "Components": { + "Component_[10989814620261546639]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 10989814620261546639 + }, + "Component_[12298926505503761520]": { + "$type": "EditorPendingCompositionComponent", + "Id": 12298926505503761520 + }, + "Component_[13199048427796447680]": { + "$type": "EditorVisibilityComponent", + "Id": 13199048427796447680 + }, + "Component_[13897401964074181963]": { + "$type": "EditorLockComponent", + "Id": 13897401964074181963 + }, + "Component_[15440200647772473638]": { + "$type": "EditorEntityIconComponent", + "Id": 15440200647772473638 + }, + "Component_[15453809689256412670]": { + "$type": "SelectionComponent", + "Id": 15453809689256412670 + }, + "Component_[16085218976953314353]": { + "$type": "EditorEntitySortComponent", + "Id": 16085218976953314353 + }, + "Component_[16269162367022698371]": { + "$type": "EditorPrefabComponent", + "Id": 16269162367022698371 + }, + "Component_[3663243583798432985]": { + "$type": "EditorOnlyEntityComponent", + "Id": 3663243583798432985 + }, + "Component_[6161691932390979827]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 6161691932390979827, + "Parent Entity": "", + "Cached World Transform Parent": "" + }, + "Component_[6472172087633666006]": { + "$type": "EditorInspectorComponent", + "Id": 6472172087633666006 + } + }, + "IsDependencyReady": true + }, + "Entities": { + "Entity_[8860110480246]": { + "Id": "Entity_[8860110480246]", + "Name": "cloth_blinds_broken", + "Components": { + "Component_[1079843150556003627]": { + "$type": "EditorEntityIconComponent", + "Id": 1079843150556003627 + }, + "Component_[11968229236146127519]": { + "$type": "EditorPendingCompositionComponent", + "Id": 11968229236146127519 + }, + "Component_[12117224592880940883]": { + "$type": "EditorInspectorComponent", + "Id": 12117224592880940883, + "ComponentOrderEntryArray": [ + { + "ComponentId": 5483426416697581640 + }, + { + "ComponentId": 5518702849950674566, + "SortIndex": 1 + }, + { + "ComponentId": 894067052175737998, + "SortIndex": 2 + }, + { + "ComponentId": 1765776596326719942, + "SortIndex": 3 + } + ] + }, + "Component_[1765776596326719942]": { + "$type": "EditorClothComponent", + "Id": 1765776596326719942, + "Configuration": { + "Mesh Node": "pPlane1", + "Update Normals of Static Particles": true, + "Wind Velocity": [ + 0.0, + 10.0, + 0.0 + ], + "Stiffness Frequency": 1.0 + } + }, + "Component_[17734660328068630579]": { + "$type": "SelectionComponent", + "Id": 17734660328068630579 + }, + "Component_[2020684643572273032]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 2020684643572273032 + }, + "Component_[3951090720799475031]": { + "$type": "EditorVisibilityComponent", + "Id": 3951090720799475031 + }, + "Component_[504292109316286904]": { + "$type": "EditorLockComponent", + "Id": 504292109316286904 + }, + "Component_[5243187155220405314]": { + "$type": "EditorOnlyEntityComponent", + "Id": 5243187155220405314 + }, + "Component_[5483426416697581640]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 5483426416697581640, + "Parent Entity": "ContainerEntity", + "Cached World Transform": { + "Translation": [ + -2.9314260482788088, + -0.9454793930053711, + 1.7495737075805665 + ] + }, + "Cached World Transform Parent": "ContainerEntity" + }, + "Component_[5518702849950674566]": { + "$type": "AZ::Render::EditorMeshComponent", + "Id": 5518702849950674566, + "Controller": { + "Configuration": { + "ModelAsset": { + "assetId": { + "guid": "{A64AD477-5E35-5834-A9A3-580B9D708E0C}", + "subId": 270272858 + }, + "assetHint": "objects/cloth/environment/cloth_blinds_broken.azmodel" + } + } + } + }, + "Component_[894067052175737998]": { + "$type": "EditorMaterialComponent", + "Id": 894067052175737998, + "Controller": { + "Configuration": { + "materials": [ + { + "Key": { + "materialAssetId": { + "guid": "{A64AD477-5E35-5834-A9A3-580B9D708E0C}", + "subId": 902256226 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{EB6CB909-E4BB-54CB-8CAE-6A4B4F203B1B}" + }, + "assetHint": "objects/cloth/environment/cloth_blinds_broken.azmaterial" + } + } + } + ] + } + }, + "materialSlots": [ + { + "id": { + "materialAssetId": { + "guid": "{A64AD477-5E35-5834-A9A3-580B9D708E0C}", + "subId": 902256226 + } + }, + "materialAsset": { + "assetId": { + "guid": "{EB6CB909-E4BB-54CB-8CAE-6A4B4F203B1B}" + }, + "assetHint": "objects/cloth/environment/cloth_blinds_broken.azmaterial" + } + } + ], + "materialSlotsByLod": [ + [ + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{A64AD477-5E35-5834-A9A3-580B9D708E0C}", + "subId": 902256226 + } + } + } + ] + ] + }, + "Component_[9677874933452340864]": { + "$type": "EditorEntitySortComponent", + "Id": 9677874933452340864 + } + }, + "IsDependencyReady": true + } + } +} \ No newline at end of file diff --git a/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_corners_four.prefab b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_corners_four.prefab new file mode 100644 index 0000000000..39b72f63fd --- /dev/null +++ b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_corners_four.prefab @@ -0,0 +1,224 @@ +{ + "ContainerEntity": { + "Id": "ContainerEntity", + "Name": "cloth_locked_corners_four", + "Components": { + "Component_[13888132130168041992]": { + "$type": "EditorEntityIconComponent", + "Id": 13888132130168041992 + }, + "Component_[14031678566419671406]": { + "$type": "EditorVisibilityComponent", + "Id": 14031678566419671406 + }, + "Component_[15480122384719724795]": { + "$type": "EditorPrefabComponent", + "Id": 15480122384719724795 + }, + "Component_[15688442711950741155]": { + "$type": "SelectionComponent", + "Id": 15688442711950741155 + }, + "Component_[17193472612212292109]": { + "$type": "EditorPendingCompositionComponent", + "Id": 17193472612212292109 + }, + "Component_[17650154089342371227]": { + "$type": "EditorOnlyEntityComponent", + "Id": 17650154089342371227 + }, + "Component_[2597916765647847638]": { + "$type": "EditorInspectorComponent", + "Id": 2597916765647847638 + }, + "Component_[3170182215265959833]": { + "$type": "EditorLockComponent", + "Id": 3170182215265959833 + }, + "Component_[4868760161921280191]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 4868760161921280191 + }, + "Component_[5068517972887920186]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 5068517972887920186, + "Parent Entity": "", + "Cached World Transform Parent": "" + }, + "Component_[676524230089543870]": { + "$type": "EditorEntitySortComponent", + "Id": 676524230089543870 + } + }, + "IsDependencyReady": true + }, + "Entities": { + "Entity_[18154419708790]": { + "Id": "Entity_[18154419708790]", + "Name": "cloth_locked_corners_four", + "Components": { + "Component_[10365722294506366933]": { + "$type": "EditorMaterialComponent", + "Id": 10365722294506366933, + "Controller": { + "Configuration": { + "materials": [ + { + "Key": { + "materialAssetId": { + "guid": "{89C91D92-7B4E-5EB5-945D-0053111859EE}", + "subId": 902256226 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{838EA487-0F74-5448-AABE-947B138CD6C2}" + }, + "assetHint": "objects/cloth/environment/cloth_locked_corners_four.azmaterial" + } + } + } + ] + } + }, + "materialSlots": [ + { + "id": { + "materialAssetId": { + "guid": "{89C91D92-7B4E-5EB5-945D-0053111859EE}", + "subId": 902256226 + } + }, + "materialAsset": { + "assetId": { + "guid": "{838EA487-0F74-5448-AABE-947B138CD6C2}" + }, + "assetHint": "objects/cloth/environment/cloth_locked_corners_four.azmaterial" + } + } + ], + "materialSlotsByLod": [ + [ + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{89C91D92-7B4E-5EB5-945D-0053111859EE}", + "subId": 902256226 + } + } + } + ] + ] + }, + "Component_[10859562122285472274]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 10859562122285472274 + }, + "Component_[14622083210324204992]": { + "$type": "EditorLockComponent", + "Id": 14622083210324204992 + }, + "Component_[15220860273045136531]": { + "$type": "AZ::Render::EditorMeshComponent", + "Id": 15220860273045136531, + "Controller": { + "Configuration": { + "ModelAsset": { + "assetId": { + "guid": "{89C91D92-7B4E-5EB5-945D-0053111859EE}", + "subId": 279249006 + }, + "assetHint": "objects/cloth/environment/cloth_locked_corners_four.azmodel" + } + } + } + }, + "Component_[16425888662708329747]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 16425888662708329747, + "Parent Entity": "ContainerEntity", + "Cached World Transform": { + "Translation": [ + 3.0004701614379885, + -4.337822437286377, + 3.1882824897766115 + ] + }, + "Cached World Transform Parent": "ContainerEntity", + "Transform Data": { + "Translate": [ + 8.040351867675782, + -4.368268966674805, + 0.0 + ] + } + }, + "Component_[4438658514025011411]": { + "$type": "EditorEntitySortComponent", + "Id": 4438658514025011411 + }, + "Component_[5913235105006124431]": { + "$type": "EditorPendingCompositionComponent", + "Id": 5913235105006124431 + }, + "Component_[77600265179991959]": { + "$type": "EditorClothComponent", + "Id": 77600265179991959, + "Configuration": { + "Mesh Node": "pPlane1", + "Air Drag Coefficient": 0.5, + "Air Lift Coefficient": 0.5, + "Tether Constraint Stiffness": 0.10000000149011612, + "Solver Frequency": 0.10000000149011612, + "Update Normals of Static Particles": true, + "Wind Velocity": [ + 0.0, + 19.0, + 0.0 + ] + } + }, + "Component_[7823285819593032424]": { + "$type": "SelectionComponent", + "Id": 7823285819593032424 + }, + "Component_[7850007788027860583]": { + "$type": "EditorEntityIconComponent", + "Id": 7850007788027860583 + }, + "Component_[8322654623609026271]": { + "$type": "EditorOnlyEntityComponent", + "Id": 8322654623609026271 + }, + "Component_[884075377124407467]": { + "$type": "EditorInspectorComponent", + "Id": 884075377124407467, + "ComponentOrderEntryArray": [ + { + "ComponentId": 16425888662708329747 + }, + { + "ComponentId": 15220860273045136531, + "SortIndex": 1 + }, + { + "ComponentId": 10365722294506366933, + "SortIndex": 2 + }, + { + "ComponentId": 77600265179991959, + "SortIndex": 3 + } + ] + }, + "Component_[9249713210701101638]": { + "$type": "EditorVisibilityComponent", + "Id": 9249713210701101638 + } + }, + "IsDependencyReady": true + } + } +} \ No newline at end of file diff --git a/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_corners_two.prefab b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_corners_two.prefab new file mode 100644 index 0000000000..b6bf98331c --- /dev/null +++ b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_corners_two.prefab @@ -0,0 +1,221 @@ +{ + "ContainerEntity": { + "Id": "ContainerEntity", + "Name": "cloth_locked_corners_two", + "Components": { + "Component_[10517025541686089747]": { + "$type": "SelectionComponent", + "Id": 10517025541686089747 + }, + "Component_[11942695247789365360]": { + "$type": "EditorLockComponent", + "Id": 11942695247789365360 + }, + "Component_[12559361867367225813]": { + "$type": "EditorPendingCompositionComponent", + "Id": 12559361867367225813 + }, + "Component_[2298695278968718052]": { + "$type": "EditorPrefabComponent", + "Id": 2298695278968718052 + }, + "Component_[5428140871384328988]": { + "$type": "EditorOnlyEntityComponent", + "Id": 5428140871384328988 + }, + "Component_[5701501137958186643]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 5701501137958186643, + "Parent Entity": "", + "Cached World Transform Parent": "" + }, + "Component_[5778239630714783896]": { + "$type": "EditorVisibilityComponent", + "Id": 5778239630714783896 + }, + "Component_[7805751851684582886]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 7805751851684582886 + }, + "Component_[8080436454059486024]": { + "$type": "EditorEntityIconComponent", + "Id": 8080436454059486024 + }, + "Component_[9061896821975172319]": { + "$type": "EditorInspectorComponent", + "Id": 9061896821975172319 + }, + "Component_[9124360597499948832]": { + "$type": "EditorEntitySortComponent", + "Id": 9124360597499948832 + } + }, + "IsDependencyReady": true + }, + "Entities": { + "Entity_[19988370744182]": { + "Id": "Entity_[19988370744182]", + "Name": "cloth_locked_corners_two", + "Components": { + "Component_[11229181318682575009]": { + "$type": "EditorOnlyEntityComponent", + "Id": 11229181318682575009 + }, + "Component_[12590098138564546298]": { + "$type": "EditorMaterialComponent", + "Id": 12590098138564546298, + "Controller": { + "Configuration": { + "materials": [ + { + "Key": { + "materialAssetId": { + "guid": "{23C6817F-0B79-5CAD-B861-9E6F5E55927D}", + "subId": 902256226 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{A56F28DD-6082-50B6-9B44-9EF3E03E95BB}" + }, + "assetHint": "objects/cloth/environment/cloth_locked_corners_two.azmaterial" + } + } + } + ] + } + }, + "materialSlots": [ + { + "id": { + "materialAssetId": { + "guid": "{23C6817F-0B79-5CAD-B861-9E6F5E55927D}", + "subId": 902256226 + } + }, + "materialAsset": { + "assetId": { + "guid": "{A56F28DD-6082-50B6-9B44-9EF3E03E95BB}" + }, + "assetHint": "objects/cloth/environment/cloth_locked_corners_two.azmaterial" + } + } + ], + "materialSlotsByLod": [ + [ + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{23C6817F-0B79-5CAD-B861-9E6F5E55927D}", + "subId": 902256226 + } + } + } + ] + ] + }, + "Component_[13015448166210260338]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 13015448166210260338, + "Parent Entity": "ContainerEntity", + "Cached World Transform": { + "Translation": [ + 0.6749224662780762, + -4.288209915161133, + 2.4030189514160158 + ] + }, + "Cached World Transform Parent": "ContainerEntity", + "Transform Data": { + "Translate": [ + 2.2785778045654299, + 0.0, + 0.0 + ] + } + }, + "Component_[17709800634205509765]": { + "$type": "SelectionComponent", + "Id": 17709800634205509765 + }, + "Component_[17881336357737316612]": { + "$type": "EditorVisibilityComponent", + "Id": 17881336357737316612 + }, + "Component_[18134421333115235974]": { + "$type": "AZ::Render::EditorMeshComponent", + "Id": 18134421333115235974, + "Controller": { + "Configuration": { + "ModelAsset": { + "assetId": { + "guid": "{23C6817F-0B79-5CAD-B861-9E6F5E55927D}", + "subId": 280646834 + }, + "assetHint": "objects/cloth/environment/cloth_locked_corners_two.azmodel" + } + } + } + }, + "Component_[1951606800215019069]": { + "$type": "EditorEntityIconComponent", + "Id": 1951606800215019069 + }, + "Component_[2363740054997837278]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 2363740054997837278 + }, + "Component_[3674821019392172687]": { + "$type": "EditorInspectorComponent", + "Id": 3674821019392172687, + "ComponentOrderEntryArray": [ + { + "ComponentId": 13015448166210260338 + }, + { + "ComponentId": 18134421333115235974, + "SortIndex": 1 + }, + { + "ComponentId": 12590098138564546298, + "SortIndex": 2 + }, + { + "ComponentId": 5881611098656116710, + "SortIndex": 3 + } + ] + }, + "Component_[5096623085809697325]": { + "$type": "EditorPendingCompositionComponent", + "Id": 5096623085809697325 + }, + "Component_[5881611098656116710]": { + "$type": "EditorClothComponent", + "Id": 5881611098656116710, + "Configuration": { + "Mesh Node": "pPlane1", + "Mass": 10.0, + "Stiffness Frequency": 1.0, + "Air Drag Coefficient": 0.5, + "Air Lift Coefficient": 0.800000011920929, + "Tether Constraint Stiffness": 0.10000000149011612, + "Solver Frequency": 0.5, + "Update Normals of Static Particles": true + } + }, + "Component_[617790731841875255]": { + "$type": "EditorLockComponent", + "Id": 617790731841875255 + }, + "Component_[7682555904043583234]": { + "$type": "EditorEntitySortComponent", + "Id": 7682555904043583234 + } + }, + "IsDependencyReady": true + } + } +} \ No newline at end of file diff --git a/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_edge.prefab b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_edge.prefab new file mode 100644 index 0000000000..1dff578422 --- /dev/null +++ b/Gems/NvCloth/Assets/prefabs/Cloth/cloth_locked_edge.prefab @@ -0,0 +1,237 @@ +{ + "ContainerEntity": { + "Id": "ContainerEntity", + "Name": "cloth_locked_edge", + "Components": { + "Component_[1235323850699490217]": { + "$type": "EditorVisibilityComponent", + "Id": 1235323850699490217 + }, + "Component_[15881575175154249216]": { + "$type": "EditorEntityIconComponent", + "Id": 15881575175154249216 + }, + "Component_[17600849902539154435]": { + "$type": "EditorOnlyEntityComponent", + "Id": 17600849902539154435 + }, + "Component_[17642993831427457865]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 17642993831427457865, + "Parent Entity": "", + "Cached World Transform Parent": "" + }, + "Component_[1978132613175166397]": { + "$type": "EditorPrefabComponent", + "Id": 1978132613175166397 + }, + "Component_[3665335443055612027]": { + "$type": "EditorEntitySortComponent", + "Id": 3665335443055612027 + }, + "Component_[4340499892108035209]": { + "$type": "EditorInspectorComponent", + "Id": 4340499892108035209 + }, + "Component_[5740495422195339981]": { + "$type": "SelectionComponent", + "Id": 5740495422195339981 + }, + "Component_[5916084327473082953]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 5916084327473082953 + }, + "Component_[6149161397236330762]": { + "$type": "EditorPendingCompositionComponent", + "Id": 6149161397236330762 + }, + "Component_[8815189893920523789]": { + "$type": "EditorLockComponent", + "Id": 8815189893920523789 + } + }, + "IsDependencyReady": true + }, + "Entities": { + "Entity_[24657000194934]": { + "Id": "Entity_[24657000194934]", + "Name": "cloth_locked_edge", + "Components": { + "Component_[12570923873370995388]": { + "$type": "EditorEntityIconComponent", + "Id": 12570923873370995388 + }, + "Component_[15695175229307539942]": { + "$type": "EditorClothComponent", + "Id": 15695175229307539942, + "Configuration": { + "Mesh Node": "pPlane1", + "Damping": [ + 0.0, + 0.0, + 0.0 + ], + "Linear Drag": [ + 0.5, + 0.5, + 0.5 + ], + "Angular Drag": [ + 0.5, + 0.5, + 0.5 + ], + "Wind Velocity": [ + 20.0, + 0.0, + 0.0 + ], + "Update Normals of Static Particles": true, + "Air Drag Coefficient": 0.5, + "Air Lift Coefficient": 0.10000000149011612 + } + }, + "Component_[1702552432011529292]": { + "$type": "EditorOnlyEntityComponent", + "Id": 1702552432011529292 + }, + "Component_[3257580479102403174]": { + "$type": "EditorDisabledCompositionComponent", + "Id": 3257580479102403174 + }, + "Component_[4004895580151009916]": { + "$type": "EditorMaterialComponent", + "Id": 4004895580151009916, + "Controller": { + "Configuration": { + "materials": [ + { + "Key": { + "materialAssetId": { + "guid": "{9DCAD62C-7A35-5D7D-8276-870D646CD5E2}", + "subId": 902256226 + } + }, + "Value": { + "MaterialAsset": { + "assetId": { + "guid": "{FF25E0FE-B695-5084-AE1E-65F095AA5C3F}" + }, + "assetHint": "objects/cloth/environment/cloth_locked_edge.azmaterial" + } + } + } + ] + } + }, + "materialSlots": [ + { + "id": { + "materialAssetId": { + "guid": "{9DCAD62C-7A35-5D7D-8276-870D646CD5E2}", + "subId": 902256226 + } + }, + "materialAsset": { + "assetId": { + "guid": "{FF25E0FE-B695-5084-AE1E-65F095AA5C3F}" + }, + "assetHint": "objects/cloth/environment/cloth_locked_edge.azmaterial" + } + } + ], + "materialSlotsByLod": [ + [ + { + "id": { + "lodIndex": 0, + "materialAssetId": { + "guid": "{9DCAD62C-7A35-5D7D-8276-870D646CD5E2}", + "subId": 902256226 + } + } + } + ] + ] + }, + "Component_[4551907993575066613]": { + "$type": "EditorPendingCompositionComponent", + "Id": 4551907993575066613 + }, + "Component_[4676074866703387598]": { + "$type": "EditorLockComponent", + "Id": 4676074866703387598 + }, + "Component_[5370716247379084795]": { + "$type": "SelectionComponent", + "Id": 5370716247379084795 + }, + "Component_[5949160048738230993]": { + "$type": "EditorVisibilityComponent", + "Id": 5949160048738230993 + }, + "Component_[7069757442037403546]": { + "$type": "EditorInspectorComponent", + "Id": 7069757442037403546, + "ComponentOrderEntryArray": [ + { + "ComponentId": 8406078395808436009 + }, + { + "ComponentId": 9469271735758494477, + "SortIndex": 1 + }, + { + "ComponentId": 4004895580151009916, + "SortIndex": 2 + }, + { + "ComponentId": 15695175229307539942, + "SortIndex": 3 + } + ] + }, + "Component_[8406078395808436009]": { + "$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent", + "Id": 8406078395808436009, + "Parent Entity": "ContainerEntity", + "Cached World Transform": { + "Translation": [ + -0.9528284072875977, + -3.110790252685547, + 1.4851393699645997 + ] + }, + "Cached World Transform Parent": "ContainerEntity", + "Transform Data": { + "Translate": [ + 0.013340950012207032, + -0.012479305267333985, + 0.0 + ] + } + }, + "Component_[94124159756316305]": { + "$type": "EditorEntitySortComponent", + "Id": 94124159756316305 + }, + "Component_[9469271735758494477]": { + "$type": "AZ::Render::EditorMeshComponent", + "Id": 9469271735758494477, + "Controller": { + "Configuration": { + "ModelAsset": { + "assetId": { + "guid": "{9DCAD62C-7A35-5D7D-8276-870D646CD5E2}", + "subId": 272561654 + }, + "assetHint": "objects/cloth/environment/cloth_locked_edge.azmodel" + } + } + } + } + }, + "IsDependencyReady": true + } + } +} \ No newline at end of file