added rigidbodies to barriers to make them interactable

This commit is contained in:
mischa 2023-12-13 10:44:52 +01:00
parent 7f46d7033d
commit b3779cfd6b
3 changed files with 51 additions and 0 deletions

View File

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 8859714114909878426}
- component: {fileID: 6706124011893902416}
- component: {fileID: 5391202258027663578}
- component: {fileID: 8035542198906269225}
m_Layer: 0
m_Name: detailBarrierStrong_typeB
m_TagString: Untagged
@ -98,3 +99,19 @@ BoxCollider:
serializedVersion: 2
m_Size: {x: 0.664, y: 0.332, z: 0.24899998}
m_Center: {x: 0, y: 0.166, z: 0}
--- !u!54 &8035542198906269225
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5048548591875452293}
serializedVersion: 2
m_Mass: 500
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 1

View File

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 1055206187299527403}
- component: {fileID: 2972427595072187937}
- component: {fileID: 4504086195599979171}
- component: {fileID: 8542515510126631895}
m_Layer: 0
m_Name: detailBarrier_typeA
m_TagString: Untagged
@ -99,3 +100,19 @@ MeshCollider:
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: -7198859958242309568, guid: b1e63e490354e4bfa9e33f95da7a6532, type: 3}
--- !u!54 &8542515510126631895
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3621126467170537460}
serializedVersion: 2
m_Mass: 50
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 1

View File

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 9218028109690592579}
- component: {fileID: 6343870862122068361}
- component: {fileID: 5748951928199329039}
- component: {fileID: 4550810294507347349}
m_Layer: 0
m_Name: detailBarrier_typeB
m_TagString: Untagged
@ -99,3 +100,19 @@ MeshCollider:
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 2893083459245283827, guid: 20d7549b24b314254a8583a2f236dcda, type: 3}
--- !u!54 &4550810294507347349
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4830401421768853596}
serializedVersion: 2
m_Mass: 50
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 1