Skip to content

Commit

Permalink
parts correctly get imported + spawned + fun physics
Browse files Browse the repository at this point in the history
  • Loading branch information
brentbatch committed Mar 21, 2021
1 parent 2cc71e6 commit 9f686ff
Show file tree
Hide file tree
Showing 6 changed files with 554 additions and 28 deletions.
4 changes: 2 additions & 2 deletions Assets/Materials/BaseMaterial.mat
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: a2a673540e2add34aaeaad3eccc6751b, type: 3}
m_Texture: {fileID: 2800000, guid: 3b33200601e49e54a8bca970fba69095, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
Expand Down Expand Up @@ -101,6 +101,6 @@ Material:
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 0.8745098, g: 0.4392157, b: 0, a: 1}
- _Color: {r: 0.6792453, g: 0.6792453, b: 0.6792453, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
20 changes: 20 additions & 0 deletions Assets/Prefabs/Block.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GameObject:
- component: {fileID: 3296844404341013989}
- component: {fileID: 3315036787694123639}
- component: {fileID: -2448772888131062009}
- component: {fileID: 8889252761515623799}
m_Layer: 0
m_Name: Block
m_TagString: Untagged
Expand Down Expand Up @@ -57,3 +58,22 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab5c7186164c93c4eaed77274c54cd45, type: 3}
m_Name:
m_EditorClassIdentifier:
rotatedBounds: {x: 0, y: 0, z: 0}
xaxis: 0
zaxis: 0
--- !u!54 &8889252761515623799
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4996030810628450848}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
20 changes: 20 additions & 0 deletions Assets/Prefabs/Part.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GameObject:
- component: {fileID: 118241074730888341}
- component: {fileID: 2886457616414624878}
- component: {fileID: 1442691639726730038}
- component: {fileID: 5155092793444328200}
m_Layer: 0
m_Name: Part
m_TagString: Untagged
Expand Down Expand Up @@ -57,3 +58,22 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab5c7186164c93c4eaed77274c54cd45, type: 3}
m_Name:
m_EditorClassIdentifier:
rotatedBounds: {x: 0, y: 0, z: 0}
xaxis: 0
zaxis: 0
--- !u!54 &5155092793444328200
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5642423716957298321}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
Loading

0 comments on commit 9f686ff

Please sign in to comment.