Somewhat working breaking rope

This commit is contained in:
Michal Pikulski
2025-09-21 23:25:51 +02:00
parent af5dfbb7a2
commit ef3b50b99f
3 changed files with 335 additions and 138 deletions

View File

@@ -433,12 +433,15 @@ MonoBehaviour:
breakPosition: 0.5
breakEffect: {fileID: 0}
breakSound: {fileID: 0}
fallSpeed: 2
swingAmount: 0.5
ropeFollowSpeed: 5
ropeTrailing: 0.2
ropeGravityStrength: 9.8
ropeMaxHangDistance: 2
ropeVerticalHangStrength: 2
ropeOscillationAmplitude: 0.15
ropeOscillationFrequency: 2
ropeDamping: 0.3
initialSeparationDistance: 0.1
--- !u!1 &224729330
GameObject:
m_ObjectHideFlags: 0
@@ -1313,12 +1316,15 @@ MonoBehaviour:
breakPosition: 0.5
breakEffect: {fileID: 0}
breakSound: {fileID: 0}
fallSpeed: 2
swingAmount: 0.5
ropeFollowSpeed: 5
ropeTrailing: 0.2
ropeGravityStrength: 9.8
ropeMaxHangDistance: 2
ropeVerticalHangStrength: 2
ropeOscillationAmplitude: 0.15
ropeOscillationFrequency: 2
ropeDamping: 0.3
initialSeparationDistance: 0.1
--- !u!1 &1063641111
GameObject:
m_ObjectHideFlags: 0
@@ -1807,12 +1813,15 @@ MonoBehaviour:
breakPosition: 0.5
breakEffect: {fileID: 0}
breakSound: {fileID: 0}
fallSpeed: 2
swingAmount: 0.5
ropeFollowSpeed: 5
ropeTrailing: 0.2
ropeGravityStrength: 9.8
ropeMaxHangDistance: 2
ropeVerticalHangStrength: 2
ropeOscillationAmplitude: 0.1
ropeOscillationFrequency: 3
ropeDamping: 0.3
initialSeparationDistance: 0.1
--- !u!1 &1679185997
GameObject:
m_ObjectHideFlags: 0
@@ -2041,7 +2050,7 @@ GameObject:
- component: {fileID: 2106431004}
m_Layer: 0
m_Name: Rock
m_TagString: Untagged
m_TagString: Rock
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0