-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Packaged EngineerChip part using Part Tools. This was so the collider…
… can be converted from a dynamically generated MeshCollider (that has convex properties) to a BoxCollider which as a bonus is also more performant. (resolves issue #80) Thanks Sarbian :)
- Loading branch information
Showing
13 changed files
with
651 additions
and
8,841 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,242 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!21 &2100000 | ||
Material: | ||
serializedVersion: 6 | ||
m_ObjectHideFlags: 0 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 0} | ||
m_Name: EngineerChip | ||
m_Shader: {fileID: 4800000, guid: 2ebca85d3473f60439b7ab95440e83d8, type: 3} | ||
m_ShaderKeywords: _CUV_UV1 _VCOL_NONE | ||
m_LightmapFlags: 5 | ||
m_CustomRenderQueue: 2000 | ||
stringTagMap: {} | ||
m_SavedProperties: | ||
serializedVersion: 2 | ||
m_TexEnvs: | ||
data: | ||
first: | ||
name: _MainTex | ||
second: | ||
m_Texture: {fileID: 2800000, guid: 59f78834f4b43ba4f849098d80347825, type: 3} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _BumpMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _DetailNormalMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _ParallaxMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _OcclusionMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _EmissionMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _DetailMask | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _DetailAlbedoMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _MetallicGlossMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _Emissive | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _MapB | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _MapC | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
data: | ||
first: | ||
name: _SpecGlossMap | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
m_Floats: | ||
data: | ||
first: | ||
name: _SrcBlend | ||
second: 1 | ||
data: | ||
first: | ||
name: _DstBlend | ||
second: 0 | ||
data: | ||
first: | ||
name: _Cutoff | ||
second: .5 | ||
data: | ||
first: | ||
name: _Shininess | ||
second: .5 | ||
data: | ||
first: | ||
name: _Parallax | ||
second: .0199999996 | ||
data: | ||
first: | ||
name: _ZWrite | ||
second: 1 | ||
data: | ||
first: | ||
name: _Glossiness | ||
second: .5 | ||
data: | ||
first: | ||
name: _BumpScale | ||
second: 1 | ||
data: | ||
first: | ||
name: _OcclusionStrength | ||
second: 1 | ||
data: | ||
first: | ||
name: _DetailNormalMapScale | ||
second: 1 | ||
data: | ||
first: | ||
name: _UVSec | ||
second: 0 | ||
data: | ||
first: | ||
name: _Mode | ||
second: 0 | ||
data: | ||
first: | ||
name: _Metallic | ||
second: 0 | ||
data: | ||
first: | ||
name: _Opacity | ||
second: 1 | ||
data: | ||
first: | ||
name: _RimFalloff | ||
second: .100000001 | ||
data: | ||
first: | ||
name: _CUV | ||
second: 0 | ||
data: | ||
first: | ||
name: _MetallicGloss | ||
second: .25 | ||
data: | ||
first: | ||
name: _VCOL | ||
second: 0 | ||
m_Colors: | ||
data: | ||
first: | ||
name: _EmissionColor | ||
second: {r: 0, g: 0, b: 0, a: 1} | ||
data: | ||
first: | ||
name: _Color | ||
second: {r: 1, g: 1, b: 1, a: 1} | ||
data: | ||
first: | ||
name: _SpecColor | ||
second: {r: .5, g: .5, b: .5, a: 1} | ||
data: | ||
first: | ||
name: _EmissiveColor | ||
second: {r: 0, g: 0, b: 0, a: 1} | ||
data: | ||
first: | ||
name: _RimColor | ||
second: {r: 0, g: 0, b: 0, a: 0} | ||
data: | ||
first: | ||
name: _TemperatureColor | ||
second: {r: 0, g: 0, b: 0, a: 0} | ||
data: | ||
first: | ||
name: _BurnColor | ||
second: {r: 1, g: 1, b: 1, a: 1} | ||
data: | ||
first: | ||
name: _Color1 | ||
second: {r: 1, g: 1, b: 1, a: 0} | ||
data: | ||
first: | ||
name: _Color2 | ||
second: {r: 1, g: 1, b: 1, a: 0} | ||
data: | ||
first: | ||
name: _Color3 | ||
second: {r: 1, g: 1, b: 1, a: 0} | ||
data: | ||
first: | ||
name: _Color4 | ||
second: {r: 1, g: 1, b: 1, a: 0} | ||
data: | ||
first: | ||
name: _EmissiveColorLow1 | ||
second: {r: 0, g: 0, b: 0, a: 1} | ||
data: | ||
first: | ||
name: _EmissiveColorHigh1 | ||
second: {r: 0, g: 0, b: 0, a: 1} | ||
data: | ||
first: | ||
name: _EmissiveColorLow2 | ||
second: {r: 0, g: 0, b: 0, a: 1} | ||
data: | ||
first: | ||
name: _EmissiveColorHigh2 | ||
second: {r: 0, g: 0, b: 0, a: 1} |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!1 &141586 | ||
GameObject: | ||
m_ObjectHideFlags: 0 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
serializedVersion: 4 | ||
m_Component: | ||
- 4: {fileID: 408162} | ||
- 114: {fileID: 11421608} | ||
m_Layer: 0 | ||
m_Name: EngineerChip | ||
m_TagString: Untagged | ||
m_Icon: {fileID: 0} | ||
m_NavMeshLayer: 0 | ||
m_StaticEditorFlags: 0 | ||
m_IsActive: 1 | ||
--- !u!1 &193716 | ||
GameObject: | ||
m_ObjectHideFlags: 0 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
serializedVersion: 4 | ||
m_Component: | ||
- 4: {fileID: 427772} | ||
- 33: {fileID: 3366704} | ||
- 23: {fileID: 2305826} | ||
- 65: {fileID: 6544566} | ||
m_Layer: 0 | ||
m_Name: Model | ||
m_TagString: Untagged | ||
m_Icon: {fileID: 0} | ||
m_NavMeshLayer: 0 | ||
m_StaticEditorFlags: 0 | ||
m_IsActive: 1 | ||
--- !u!4 &408162 | ||
Transform: | ||
m_ObjectHideFlags: 1 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
m_GameObject: {fileID: 141586} | ||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} | ||
m_LocalPosition: {x: 0, y: 0, z: 0} | ||
m_LocalScale: {x: 1, y: 1, z: 1} | ||
m_Children: | ||
- {fileID: 427772} | ||
m_Father: {fileID: 0} | ||
m_RootOrder: 0 | ||
--- !u!4 &427772 | ||
Transform: | ||
m_ObjectHideFlags: 1 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
m_GameObject: {fileID: 193716} | ||
m_LocalRotation: {x: 1.15202326e-07, y: .707106709, z: .707106829, w: -1.15202312e-07} | ||
m_LocalPosition: {x: 0, y: 0, z: 0} | ||
m_LocalScale: {x: 1, y: 1, z: 1} | ||
m_Children: [] | ||
m_Father: {fileID: 408162} | ||
m_RootOrder: 0 | ||
--- !u!23 &2305826 | ||
MeshRenderer: | ||
m_ObjectHideFlags: 1 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
m_GameObject: {fileID: 193716} | ||
m_Enabled: 1 | ||
m_CastShadows: 1 | ||
m_ReceiveShadows: 1 | ||
m_Materials: | ||
- {fileID: 2100000, guid: 508aa968b16438c438042fefca86dcc9, type: 2} | ||
m_SubsetIndices: | ||
m_StaticBatchRoot: {fileID: 0} | ||
m_UseLightProbes: 1 | ||
m_ReflectionProbeUsage: 1 | ||
m_ProbeAnchor: {fileID: 0} | ||
m_ScaleInLightmap: 1 | ||
m_PreserveUVs: 0 | ||
m_IgnoreNormalsForChartDetection: 0 | ||
m_ImportantGI: 0 | ||
m_MinimumChartSize: 4 | ||
m_AutoUVMaxDistance: .5 | ||
m_AutoUVMaxAngle: 89 | ||
m_LightmapParameters: {fileID: 0} | ||
m_SortingLayerID: 0 | ||
m_SortingOrder: 0 | ||
--- !u!33 &3366704 | ||
MeshFilter: | ||
m_ObjectHideFlags: 1 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
m_GameObject: {fileID: 193716} | ||
m_Mesh: {fileID: 4300002, guid: ba92dc968cd43984281a4466efba7b6e, type: 3} | ||
--- !u!65 &6544566 | ||
BoxCollider: | ||
m_ObjectHideFlags: 1 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
m_GameObject: {fileID: 193716} | ||
m_Material: {fileID: 0} | ||
m_IsTrigger: 0 | ||
m_Enabled: 1 | ||
serializedVersion: 2 | ||
m_Size: {x: .325334996, y: .325335085, z: .0409910716} | ||
m_Center: {x: -.00144509971, y: -.000478997943, z: -.00773990201} | ||
--- !u!114 &11421608 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 1 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 100100000} | ||
m_GameObject: {fileID: 141586} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: -453068767, guid: 90118262cf80c7549ab37dd61d08c605, type: 3} | ||
m_Name: | ||
m_EditorClassIdentifier: | ||
modelName: EngineerChip | ||
filePath: EngineerChip | ||
production: 0 | ||
textureFormat: 5 | ||
--- !u!1001 &100100000 | ||
Prefab: | ||
m_ObjectHideFlags: 1 | ||
serializedVersion: 2 | ||
m_Modification: | ||
m_TransformParent: {fileID: 0} | ||
m_Modifications: [] | ||
m_RemovedComponents: [] | ||
m_ParentPrefab: {fileID: 0} | ||
m_RootGameObject: {fileID: 141586} | ||
m_IsPrefabParent: 1 |
Oops, something went wrong.