Ropes breaking and shit

This commit is contained in:
Michal Pikulski
2025-09-21 22:36:05 +02:00
parent 46755fecb3
commit af5dfbb7a2
11 changed files with 730 additions and 103 deletions

View File

@@ -248,6 +248,7 @@ GameObject:
- component: {fileID: 173052725}
- component: {fileID: 173052727}
- component: {fileID: 173052726}
- component: {fileID: 173052728}
m_Layer: 0
m_Name: Rope2
m_TagString: Untagged
@@ -417,6 +418,27 @@ LineRenderer:
m_UseWorldSpace: 1
m_Loop: 0
m_ApplyActiveColorSpace: 1
--- !u!114 &173052728
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 173052724}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 30919200017f4879867c3b6289429924, type: 3}
m_Name:
m_EditorClassIdentifier:
breakPosition: 0.5
breakEffect: {fileID: 0}
breakSound: {fileID: 0}
fallSpeed: 2
swingAmount: 0.5
ropeFollowSpeed: 5
ropeTrailing: 0.2
ropeOscillationAmplitude: 0.15
ropeOscillationFrequency: 2
--- !u!1 &224729330
GameObject:
m_ObjectHideFlags: 0
@@ -600,6 +622,10 @@ MonoBehaviour:
spawnCooldown: 5
basePoints: 10
depthMultiplier: 2
playerRopes:
- {fileID: 1435210811}
- {fileID: 1062017697}
- {fileID: 173052728}
--- !u!4 &424805726
Transform:
m_ObjectHideFlags: 0
@@ -1102,6 +1128,7 @@ GameObject:
- component: {fileID: 1062017694}
- component: {fileID: 1062017696}
- component: {fileID: 1062017695}
- component: {fileID: 1062017697}
m_Layer: 0
m_Name: Rope3
m_TagString: Untagged
@@ -1271,6 +1298,27 @@ LineRenderer:
m_UseWorldSpace: 1
m_Loop: 0
m_ApplyActiveColorSpace: 1
--- !u!114 &1062017697
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1062017693}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 30919200017f4879867c3b6289429924, type: 3}
m_Name:
m_EditorClassIdentifier:
breakPosition: 0.5
breakEffect: {fileID: 0}
breakSound: {fileID: 0}
fallSpeed: 2
swingAmount: 0.5
ropeFollowSpeed: 5
ropeTrailing: 0.2
ropeOscillationAmplitude: 0.15
ropeOscillationFrequency: 2
--- !u!1 &1063641111
GameObject:
m_ObjectHideFlags: 0
@@ -1744,51 +1792,27 @@ LineRenderer:
m_UseWorldSpace: 1
m_Loop: 0
m_ApplyActiveColorSpace: 1
--- !u!23 &1435210811
MeshRenderer:
--- !u!114 &1435210811
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1435210807}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 30919200017f4879867c3b6289429924, type: 3}
m_Name:
m_EditorClassIdentifier:
breakPosition: 0.5
breakEffect: {fileID: 0}
breakSound: {fileID: 0}
fallSpeed: 2
swingAmount: 0.5
ropeFollowSpeed: 5
ropeTrailing: 0.2
ropeOscillationAmplitude: 0.1
ropeOscillationFrequency: 3
--- !u!1 &1679185997
GameObject:
m_ObjectHideFlags: 0