Compare commits
2 Commits
c9160f2cab
...
928a2d1625
| Author | SHA1 | Date | |
|---|---|---|---|
| 928a2d1625 | |||
|
|
836c7eaca6 |
@@ -861,6 +861,7 @@ Transform:
|
||||
m_Children:
|
||||
- {fileID: 7529913799027581033}
|
||||
- {fileID: 2788071296354792522}
|
||||
- {fileID: 3318002598588399198}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: -89.98, y: 0, z: 0}
|
||||
--- !u!33 &2522369935456338569
|
||||
@@ -920,6 +921,130 @@ MeshRenderer:
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!1 &4292789968123295384
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3318002598588399198}
|
||||
- component: {fileID: 1112952767070947941}
|
||||
- component: {fileID: 7834475155835399074}
|
||||
- component: {fileID: 2763366330226723781}
|
||||
- component: {fileID: 8125998700424659266}
|
||||
m_Layer: 0
|
||||
m_Name: StackerPivot
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3318002598588399198
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4292789968123295384}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0.7069834, y: -0, z: -0, w: 0.7072302}
|
||||
m_LocalPosition: {x: 0, y: -8.735759, z: 0.0030488968}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1490297314039762220}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &1112952767070947941
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4292789968123295384}
|
||||
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!23 &7834475155835399074
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4292789968123295384}
|
||||
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_ForceMeshLod: -1
|
||||
m_MeshLodSelectionBias: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
|
||||
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_GlobalIlluminationMeshLod: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!65 &2763366330226723781
|
||||
BoxCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4292789968123295384}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 1, y: 1, z: 1}
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &8125998700424659266
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4292789968123295384}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 38245ac5ce338194194695796c1af4e5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Tag_ConnStackerPivot
|
||||
--- !u!1 &7330122330405636019
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -113,7 +113,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 164810697}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
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_ConstrainProportionsScale: 0
|
||||
@@ -129,7 +129,7 @@ Transform:
|
||||
- {fileID: 995324076}
|
||||
- {fileID: 1251588715}
|
||||
- {fileID: 2133081936}
|
||||
m_Father: {fileID: 4340012190162525746}
|
||||
m_Father: {fileID: 5184969763777684504}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &172668016
|
||||
GameObject:
|
||||
@@ -3495,7 +3495,7 @@ Transform:
|
||||
m_LocalScale: {x: 1, y: 1.15, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 4340012190162525746}
|
||||
m_Father: {fileID: 5184969763777684504}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &3983249809778009602
|
||||
MeshFilter:
|
||||
@@ -3888,7 +3888,7 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1873816493586371918}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068}
|
||||
m_LocalRotation: {x: -0.7071068, y: -0, z: -0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0.015, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
@@ -3898,7 +3898,7 @@ Transform:
|
||||
- {fileID: 1136097992}
|
||||
- {fileID: 342824159}
|
||||
- {fileID: 7261391935568714009}
|
||||
m_Father: {fileID: 4340012190162525746}
|
||||
m_Father: {fileID: 5184969763777684504}
|
||||
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
|
||||
--- !u!33 &5352523445820926164
|
||||
MeshFilter:
|
||||
@@ -3973,7 +3973,6 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 4340012190162525746}
|
||||
- component: {fileID: 7014766621195278381}
|
||||
- component: {fileID: 8911959805041523684}
|
||||
- component: {fileID: -1569038935474132120}
|
||||
m_Layer: 0
|
||||
m_Name: AMR_300kg_v1
|
||||
@@ -3995,9 +3994,7 @@ Transform:
|
||||
m_LocalScale: {x: 0.9987, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 5299616213671800044}
|
||||
- {fileID: 65446283459619239}
|
||||
- {fileID: 164810698}
|
||||
- {fileID: 5184969763777684504}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!65 &7014766621195278381
|
||||
@@ -4021,21 +4018,6 @@ BoxCollider:
|
||||
serializedVersion: 3
|
||||
m_Size: {x: 1, y: 0.7, z: 0.8}
|
||||
m_Center: {x: 0, y: 0.35, z: 0}
|
||||
--- !u!114 &8911959805041523684
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1910125702042993799}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c50495ebe5453f34abbd1d663665cce4, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
cameraPosition: {x: -2, y: 2, z: 0}
|
||||
popupPosition: {x: 0, y: 2, z: 0}
|
||||
CameraSocket: {fileID: 0}
|
||||
--- !u!54 &-1569038935474132120
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4597,6 +4579,40 @@ MeshRenderer:
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!1 &4892577822261248130
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5184969763777684504}
|
||||
m_Layer: 0
|
||||
m_Name: GameObject
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &5184969763777684504
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4892577822261248130}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: -0.7071068, z: 0, w: 0.7071068}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 5299616213671800044}
|
||||
- {fileID: 65446283459619239}
|
||||
- {fileID: 164810698}
|
||||
m_Father: {fileID: 4340012190162525746}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
|
||||
--- !u!1 &5068867836477956631
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -848,6 +848,7 @@ GameObject:
|
||||
- component: {fileID: 3372197295307384846}
|
||||
- component: {fileID: 7779679418804798236}
|
||||
- component: {fileID: 1085626450483703583}
|
||||
- component: {fileID: 2467107462925281067}
|
||||
m_Layer: 0
|
||||
m_Name: ForkModel
|
||||
m_TagString: Untagged
|
||||
@@ -920,6 +921,19 @@ Rigidbody:
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 112
|
||||
m_CollisionDetection: 0
|
||||
--- !u!114 &2467107462925281067
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3372197295307384847}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3d83eb2436c128c46a4dfba9da2bfa0d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Tag_CraneFork
|
||||
parentCrane: {fileID: 0}
|
||||
--- !u!1 &3674455550755517983
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -1647,6 +1661,7 @@ GameObject:
|
||||
- component: {fileID: 7421151213676632426}
|
||||
- component: {fileID: 8690917171350987580}
|
||||
- component: {fileID: 8043291751213366361}
|
||||
- component: {fileID: 7394375416916229456}
|
||||
m_Layer: 0
|
||||
m_Name: SM_MERGED_DatasmithSceneActor_6.002
|
||||
m_TagString: Untagged
|
||||
@@ -1757,6 +1772,18 @@ MeshRenderer:
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!114 &7394375416916229456
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6138201428906235988}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: e1a0b36afd98f104d8ed89b966de5b38, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::Tag_Bucket
|
||||
--- !u!1 &6486086149401874633
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -2033,6 +2060,7 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3131234458660572411}
|
||||
- component: {fileID: 7246133569566125736}
|
||||
m_Layer: 0
|
||||
m_Name: StackerCrane
|
||||
m_TagString: Untagged
|
||||
@@ -2056,6 +2084,31 @@ Transform:
|
||||
- {fileID: 8228466724883270619}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &7246133569566125736
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7430804728222622584}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f261618435d1f184db44fb6cfe742b82, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::StackerCrane
|
||||
originHeight: 0
|
||||
targetCell: {fileID: 0}
|
||||
spec_LiftHorizontalSpeed: 1
|
||||
spec_LiftVerticalSpeed: 1
|
||||
spec_LiftPullPushSpeed: 1.2
|
||||
currentJobType: 0
|
||||
stackerPillar: {fileID: 8753504879403225441}
|
||||
stackerBucket: {fileID: 6138201428906235988}
|
||||
stackerFork: {fileID: 3372197295307384847}
|
||||
stackerFork_Middle: {fileID: 1609989106066755261}
|
||||
pivot: {fileID: 0}
|
||||
prevDirection: 0
|
||||
currentForkDokcingCell: {fileID: 0}
|
||||
--- !u!1 &7444172867100460009
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
948
Assets/Scenes/ASRSAMRAnimScene.unity
Normal file
948
Assets/Scenes/ASRSAMRAnimScene.unity
Normal file
@@ -0,0 +1,948 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 10
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 0
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 13
|
||||
m_BakeOnSceneLoad: 0
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 1
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 1
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 512
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 256
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRDenoiserTypeDirect: 1
|
||||
m_PVRDenoiserTypeIndirect: 1
|
||||
m_PVRDenoiserTypeAO: 1
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 1
|
||||
m_PVRFilteringGaussRadiusAO: 1
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 3
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &16898003
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 16898004}
|
||||
m_Layer: 0
|
||||
m_Name: AMRPivot
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &16898004
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 16898003}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 19.88, y: 0, z: 13.51}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &72481255
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 5.1480684
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 5
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: -1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: -180
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 3131234458660572411, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 7430804728222622584, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: StackerCrane
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 9220b286e01fb124cba9d4f54372a9ac, type: 3}
|
||||
--- !u!1 &279609303
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 279609304}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (3)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &279609304
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 279609303}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 6.22, y: 0, z: -7.41}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &419052994
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 419052995}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (2)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &419052995
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 419052994}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: -0.41, y: 0, z: 4.93}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &545978313
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 545978314}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (4)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &545978314
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 545978313}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 5.66, y: 0, z: 0.97}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1001 &604723257
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: 5.1480684
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 1.7642411
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 0.7072302
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: -0.7069834
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: -89.98
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1490297314039762220, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2298323647963551638, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: ASRS
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: ed74e5eefe50ba249852f76e31b5c8cb, type: 3}
|
||||
--- !u!1 &700391933
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 700391934}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &700391934
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 700391933}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 0.62, y: 0, z: -6.26}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &883983379
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 883983380}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (7)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &883983380
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 883983379}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 9.35, y: 0, z: 3.73}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &893288390
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 893288391}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (5)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &893288391
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 893288390}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 2.35, y: 0, z: -5.34}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1206536016
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1206536018}
|
||||
- component: {fileID: 1206536017}
|
||||
- component: {fileID: 1206536019}
|
||||
m_Layer: 0
|
||||
m_Name: Directional Light
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!108 &1206536017
|
||||
Light:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1206536016}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 11
|
||||
m_Type: 1
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
m_InnerSpotAngle: 21.80208
|
||||
m_CookieSize: 10
|
||||
m_Shadows:
|
||||
m_Type: 2
|
||||
m_Resolution: -1
|
||||
m_CustomResolution: -1
|
||||
m_Strength: 1
|
||||
m_Bias: 0.05
|
||||
m_NormalBias: 0.4
|
||||
m_NearPlane: 0.2
|
||||
m_CullingMatrixOverride:
|
||||
e00: 1
|
||||
e01: 0
|
||||
e02: 0
|
||||
e03: 0
|
||||
e10: 0
|
||||
e11: 1
|
||||
e12: 0
|
||||
e13: 0
|
||||
e20: 0
|
||||
e21: 0
|
||||
e22: 1
|
||||
e23: 0
|
||||
e30: 0
|
||||
e31: 0
|
||||
e32: 0
|
||||
e33: 1
|
||||
m_UseCullingMatrixOverride: 0
|
||||
m_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingLayerMask: 1
|
||||
m_Lightmapping: 4
|
||||
m_LightShadowCasterMode: 0
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_UseBoundingSphereOverride: 0
|
||||
m_UseViewFrustumForShadowCasterCull: 1
|
||||
m_ForceVisible: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
m_LightUnit: 1
|
||||
m_LuxAtDistance: 1
|
||||
m_EnableSpotReflector: 1
|
||||
--- !u!4 &1206536018
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1206536016}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
|
||||
m_LocalPosition: {x: 0, y: 3, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!114 &1206536019
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1206536016}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Runtime::UnityEngine.Rendering.Universal.UniversalAdditionalLightData
|
||||
m_UsePipelineSettings: 1
|
||||
m_AdditionalLightsShadowResolutionTier: 2
|
||||
m_CustomShadowLayers: 0
|
||||
m_LightCookieSize: {x: 1, y: 1}
|
||||
m_LightCookieOffset: {x: 0, y: 0}
|
||||
m_SoftShadowQuality: 0
|
||||
m_RenderingLayersMask:
|
||||
serializedVersion: 0
|
||||
m_Bits: 1
|
||||
m_ShadowRenderingLayersMask:
|
||||
serializedVersion: 0
|
||||
m_Bits: 1
|
||||
m_Version: 4
|
||||
m_LightLayerMask: 1
|
||||
m_ShadowLayerMask: 1
|
||||
m_RenderingLayers: 1
|
||||
m_ShadowRenderingLayers: 1
|
||||
--- !u!1 &1311434097
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1311434100}
|
||||
- component: {fileID: 1311434099}
|
||||
- component: {fileID: 1311434098}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!81 &1311434098
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1311434097}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &1311434099
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1311434097}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_Iso: 200
|
||||
m_ShutterSpeed: 0.005
|
||||
m_Aperture: 16
|
||||
m_FocusDistance: 10
|
||||
m_FocalLength: 50
|
||||
m_BladeCount: 5
|
||||
m_Curvature: {x: 2, y: 11}
|
||||
m_BarrelClipping: 0.25
|
||||
m_Anamorphism: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 5
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 3
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 1
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &1311434100
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1311434097}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 1, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1507987679
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1507987680}
|
||||
m_Layer: 0
|
||||
m_Name: RandomMother
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1507987680
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1507987679}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 8.27, y: 0, z: 4.85}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 700391934}
|
||||
- {fileID: 1593618773}
|
||||
- {fileID: 419052995}
|
||||
- {fileID: 279609304}
|
||||
- {fileID: 545978314}
|
||||
- {fileID: 893288391}
|
||||
- {fileID: 1855768713}
|
||||
- {fileID: 883983380}
|
||||
- {fileID: 2099058568}
|
||||
- {fileID: 1718072287}
|
||||
- {fileID: 1742189618}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1593618772
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1593618773}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (1)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1593618773
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1593618772}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 3.84, y: 0, z: -0.31}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1718072286
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1718072287}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (9)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1718072287
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1718072286}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 8.02, y: 0, z: -0.41}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1742189617
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1742189618}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (10)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1742189618
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1742189617}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 4.9, y: 0, z: 7.58}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1820278182
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1820278184}
|
||||
- component: {fileID: 1820278183}
|
||||
m_Layer: 0
|
||||
m_Name: AMRManager
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1820278183
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1820278182}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 665884ff6d35115469c4383ecabf345f, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Assembly-CSharp::HyundaiWIA.Management.AMRManager
|
||||
isInit: 0
|
||||
amr_1T_Prefab: {fileID: 0}
|
||||
amr_300kg_Prefab: {fileID: 1910125702042993799, guid: 6eb30f7eb9256c944ad8954481ac03e7, type: 3}
|
||||
Pallet: {fileID: 0}
|
||||
Dummy: {fileID: 0}
|
||||
Cargo: {fileID: 0}
|
||||
randomPlaceMother: {fileID: 1507987679}
|
||||
pivot: {fileID: 16898003}
|
||||
amr_class:
|
||||
payload:
|
||||
plcdatas: []
|
||||
amr:
|
||||
type:
|
||||
AmrId:
|
||||
workstate: 0
|
||||
moveSpeed: 0
|
||||
Pose:
|
||||
x: 0
|
||||
y: 0
|
||||
theta: 0
|
||||
lift_: 0
|
||||
loaded: 0
|
||||
Cmd:
|
||||
amr_dest:
|
||||
Amr: []
|
||||
--- !u!4 &1820278184
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1820278182}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 5.24636, y: 0, z: 4.759}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1855768712
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1855768713}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (6)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &1855768713
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1855768712}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 1.72, y: 0, z: 5.93}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &2099058567
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2099058568}
|
||||
m_Layer: 0
|
||||
m_Name: RandomChild (8)
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2099058568
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2099058567}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||
m_LocalPosition: {x: 9.41, y: 0, z: -5.58}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 1507987680}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 1311434100}
|
||||
- {fileID: 1206536018}
|
||||
- {fileID: 604723257}
|
||||
- {fileID: 72481255}
|
||||
- {fileID: 1820278184}
|
||||
- {fileID: 16898004}
|
||||
- {fileID: 1507987680}
|
||||
7
Assets/Scenes/ASRSAMRAnimScene.unity.meta
Normal file
7
Assets/Scenes/ASRSAMRAnimScene.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 650026ef568ff0a469130f60702b4781
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -45,6 +45,8 @@ public class AMR : MonoBehaviour
|
||||
// Start is called before the first frame update
|
||||
void Awake()
|
||||
{
|
||||
return;
|
||||
|
||||
Lift = gameObject.transform.Find(nameof(Lift)).gameObject;
|
||||
amrLight = GetComponentInChildren<AMR_Light>(true);
|
||||
onWorkStateChanged += amrLight.ChangeMat;
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Cysharp.Threading.Tasks.Triggers;
|
||||
using HyundaiWIA.UI;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using UVC.Management;
|
||||
using static lzma;
|
||||
using static UnityEditor.PlayerSettings;
|
||||
using static UnityEngine.Rendering.GPUSort;
|
||||
|
||||
namespace HyundaiWIA.Management
|
||||
{
|
||||
@@ -26,6 +31,12 @@ namespace HyundaiWIA.Management
|
||||
[SerializeField]
|
||||
GameObject Cargo;
|
||||
|
||||
[SerializeField]
|
||||
GameObject randomPlaceMother1;
|
||||
|
||||
[SerializeField]
|
||||
GameObject randomPlaceMother2;
|
||||
|
||||
public GameObject pivot;
|
||||
public AMR_Class_AMR amr_class;
|
||||
public AMR_Class amr;
|
||||
@@ -43,7 +54,7 @@ namespace HyundaiWIA.Management
|
||||
private List<string> amr1tIdList = new List<string> { "R_137", "R_147" };
|
||||
public Action<string, GameObject> Spawned300kgAMREvent;
|
||||
public Action<string, GameObject> Spawned1tAMREvent;
|
||||
|
||||
|
||||
struct motionContainer
|
||||
{
|
||||
public AMR worker;
|
||||
@@ -91,147 +102,119 @@ namespace HyundaiWIA.Management
|
||||
var dataManager = HyundaiWIASceneMain.Instance.GetManager<DataManager>();
|
||||
|
||||
dataManager.onAMRDataReceived += ReceiveData_Destination;
|
||||
dataManager.onAMR1DataReceived += ReceiveData;
|
||||
dataManager.onAMR2DataReceived += ReceiveData;
|
||||
dataManager.onAMR3DataReceived += ReceiveData;
|
||||
dataManager.onAMR4DataReceived += ReceiveData;
|
||||
//dataManager.onAMR1DataReceived += ReceiveData;
|
||||
//dataManager.onAMR2DataReceived += ReceiveData;
|
||||
//dataManager.onAMR3DataReceived += ReceiveData;
|
||||
//dataManager.onAMR4DataReceived += ReceiveData;
|
||||
}
|
||||
|
||||
public void ReceiveData(string json)
|
||||
public void Start()
|
||||
{
|
||||
if (json.Contains("battery"))
|
||||
{
|
||||
var battery = JsonConvert.DeserializeObject<AMR_Battery_Class>(json);
|
||||
if (dict_AMR.ContainsKey(battery.AmrId))
|
||||
{
|
||||
dict_AMR[battery.AmrId].battery = battery.data[2];
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (!json.Contains("wia1000") && !json.Contains("wia300"))
|
||||
{
|
||||
return;
|
||||
}
|
||||
amr = JsonConvert.DeserializeObject<AMR_Class>(json);
|
||||
var AMR1 = new AMR_Class();
|
||||
|
||||
AMR1.type = "wia300";
|
||||
AMR1.AmrId = "R_135";
|
||||
|
||||
var AMR2 = new AMR_Class();
|
||||
|
||||
AMR2.type = "wia300";
|
||||
AMR2.AmrId = "R_137";
|
||||
|
||||
|
||||
if (!string.Equals(amr.Cmd, "basic"))
|
||||
var obj = SpawnAMR(AMR1.type);
|
||||
if (AMR1.type.Equals("wia300"))
|
||||
{
|
||||
Debug.Log($"battery:{amr.Cmd}");
|
||||
return;
|
||||
var script = obj.AddComponent<AMR_300KG>();
|
||||
dict_AMR.Add(AMR1.AmrId, script);
|
||||
}
|
||||
|
||||
if (!dict_AMR.ContainsKey(amr.AmrId))
|
||||
var obj2 = SpawnAMR(AMR2.type);
|
||||
if (AMR2.type.Equals("wia300"))
|
||||
{
|
||||
var obj = SpawnAMR(amr.type);
|
||||
if (obj == null)
|
||||
{
|
||||
Debug.LogError("type error");
|
||||
return;
|
||||
}
|
||||
if (amr.type.Equals("wia300"))
|
||||
{
|
||||
var script = obj.AddComponent<AMR_300KG>();
|
||||
dict_AMR.Add(amr.AmrId, script);
|
||||
}
|
||||
else
|
||||
{
|
||||
var script = obj.AddComponent<AMR_1T>();
|
||||
dict_AMR.Add(amr.AmrId, script);
|
||||
}
|
||||
|
||||
if (amr.type.Equals("wia300"))
|
||||
{
|
||||
var popup=cloudPopupManager.CreateAMR300kgCloudPopup(amr.AmrId, obj);
|
||||
dict_AMR[amr.AmrId].amrName = popup.title;
|
||||
//Spawned300kgAMREvent?.Invoke(amr.AmrId, obj);
|
||||
}
|
||||
else
|
||||
{
|
||||
var popup = cloudPopupManager.CreateAMR1tCloudPopup(amr.AmrId, obj);
|
||||
dict_AMR[amr.AmrId].amrName = popup.title;
|
||||
//Spawned1tAMREvent?.Invoke(amr.AmrId, obj);
|
||||
}
|
||||
var script = obj2.AddComponent<AMR_300KG>();
|
||||
dict_AMR.Add(AMR2.AmrId, script);
|
||||
}
|
||||
|
||||
var targetAMR = dict_AMR[amr.AmrId];
|
||||
targetAMR.AMR_class = amr;
|
||||
targetAMR.workstate = amr.workstate;
|
||||
amrUIEventTable[amr.AmrId]?.Invoke(targetAMR);
|
||||
StartCoroutine(UpdatePoseRoutine("R_135"));
|
||||
StartCoroutine(UpdatePoseRoutine("R_137"));
|
||||
}
|
||||
|
||||
public AMR_Class CreatePoseFromCurrentTransform(
|
||||
GameObject amr,
|
||||
GameObject target,
|
||||
string amrId = null,
|
||||
string type = null)
|
||||
{
|
||||
|
||||
|
||||
if (amr.type.Equals("wia300") && amr.lift_ == 2)
|
||||
Vector3 aPos = amr.transform.position;
|
||||
Vector3 tPos = target.transform.position;
|
||||
|
||||
float dx = tPos.x - aPos.x;
|
||||
float dz = tPos.z - aPos.z;
|
||||
|
||||
float thetaRad = Mathf.Atan2(dz, dx);
|
||||
|
||||
// ȸÀü ¹Ý¿µ(¼±ÅÃ)
|
||||
float thetaDeg = thetaRad * Mathf.Rad2Deg;
|
||||
amr.transform.rotation = Quaternion.Euler(0f, thetaDeg, 0f);
|
||||
|
||||
return new AMR_Class
|
||||
{
|
||||
if (targetAMR.dockingStation != null && targetAMR.dockingStation.Pallet == null & targetAMR.Pallet != null)
|
||||
type = type ?? "",
|
||||
AmrId = amrId ?? amr.name,
|
||||
Pose = new Pose
|
||||
{
|
||||
targetAMR.dockingStation.Pallet = targetAMR.Pallet;
|
||||
targetAMR.Pallet.transform.SetParent(targetAMR.dockingStation.Socket.transform);
|
||||
if (targetAMR.dockingStation.State == DockingStation_InOut.In)
|
||||
{
|
||||
targetAMR.Pallet.GetComponent<Pallet>().MovetoSlowly(new Vector3(-0.35f, 0.05f, 0f), new Vector3(0f, 90f, 0f));
|
||||
}
|
||||
else
|
||||
{
|
||||
targetAMR.Pallet.GetComponent<Pallet>().MovetoSlowly(new Vector3(0.38f, 0.05f, 0f), new Vector3(0f, -90f, 0f));
|
||||
}
|
||||
targetAMR.Pallet = null;
|
||||
x = tPos.x,
|
||||
y = tPos.z,
|
||||
theta = thetaRad
|
||||
}
|
||||
}
|
||||
if (amr.lift_ == 1)
|
||||
};
|
||||
}
|
||||
|
||||
private IEnumerator UpdatePoseRoutine(string amrID)
|
||||
{
|
||||
var amr= dict_AMR[amrID];
|
||||
|
||||
|
||||
while (true)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(targetAMR.startDestination) && !string.IsNullOrEmpty(targetAMR.endDestination))
|
||||
GameObject target = null;
|
||||
|
||||
if ( amrID.Contains("135"))
|
||||
{
|
||||
if (amr.type.Equals("wia300"))
|
||||
{
|
||||
if (targetAMR.dockingStation != null)
|
||||
{
|
||||
if (targetAMR.dockingStation.Pallet != null && targetAMR.Pallet == null)
|
||||
{
|
||||
targetAMR.Pallet = targetAMR.dockingStation.Pallet;
|
||||
targetAMR.Pallet.GetComponent<Pallet>().StopAllCoroutines();
|
||||
targetAMR.Pallet.transform.SetParent(targetAMR.dockingStation.Socket.transform);
|
||||
targetAMR.dockingStation.Pallet = null;
|
||||
}
|
||||
}
|
||||
else if (amr.type.Equals("wia300") && targetAMR.Pallet == null && !targetAMR.spawnCargo)
|
||||
{
|
||||
targetAMR.spawnCargo = true;
|
||||
var obj = Instantiate(Pallet);
|
||||
targetAMR.Pallet = obj;
|
||||
obj.transform.SetParent(targetAMR.Lift.transform);
|
||||
obj.transform.SetLocalPositionAndRotation(new Vector3(0.35f, 0f, 0.8f), Quaternion.Euler(180, 90, 90));
|
||||
if (string.Equals(targetAMR.endDestination, "7"))
|
||||
{
|
||||
obj.GetComponent<Pallet>().SpawnProducts();
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (amr.type.Equals("wia1000") && targetAMR.LoadCargo == null && !targetAMR.spawnCargo)
|
||||
{
|
||||
targetAMR.spawnCargo = true;
|
||||
if (string.Equals(targetAMR.startDestination, "4") || string.Equals(targetAMR.endDestination, "4"))
|
||||
{
|
||||
var obj = Instantiate(Dummy);
|
||||
obj.AddComponent<Cargo>();
|
||||
targetAMR.LoadCargo = obj.GetComponent<Cargo>();
|
||||
obj.transform.SetParent(targetAMR.Lift.transform);
|
||||
obj.transform.SetLocalPositionAndRotation(new Vector3(0, 0f, 0.35f), Quaternion.Euler(90, 0, 0));
|
||||
}
|
||||
else
|
||||
{
|
||||
var obj = Instantiate(Cargo);
|
||||
obj.AddComponent<Cargo>();
|
||||
targetAMR.LoadCargo = obj.GetComponent<Cargo>();
|
||||
if (obj.TryGetComponent<Pallet>(out var p))
|
||||
{
|
||||
p.SpawnProducts();
|
||||
}
|
||||
obj.transform.parent = targetAMR.Lift.transform;
|
||||
obj.transform.SetLocalPositionAndRotation(new Vector3(0, 0f, 0.355f), Quaternion.Euler(90, 0, 0));
|
||||
}
|
||||
}
|
||||
target = randomPlaceMother1.transform.GetChild(UnityEngine.Random.Range(0, randomPlaceMother1.transform.childCount - 1)).gameObject;
|
||||
}
|
||||
|
||||
|
||||
else if (amrID.Contains("137"))
|
||||
{
|
||||
target = randomPlaceMother2.transform.GetChild(UnityEngine.Random.Range(0, randomPlaceMother2.transform.childCount - 1)).gameObject;
|
||||
}
|
||||
|
||||
|
||||
var amrData = CreatePoseFromCurrentTransform(
|
||||
amr.gameObject,
|
||||
target,
|
||||
amrID
|
||||
);
|
||||
|
||||
ReceiveData(null, amrData);
|
||||
|
||||
yield return new WaitForSeconds(1f);
|
||||
}
|
||||
|
||||
yield return null;
|
||||
}
|
||||
|
||||
public void ReceiveData(string json, AMR_Class amrCommand)
|
||||
{
|
||||
Debug.Log(amrCommand.AmrId);
|
||||
|
||||
|
||||
var tmpamr = dict_AMR[amrCommand.AmrId];
|
||||
tmpamr.AMR_class = amrCommand;
|
||||
var amr = tmpamr.AMR_class;
|
||||
Vector2 pivotPos = new Vector2(pivot.transform.position.x, pivot.transform.position.z);
|
||||
Vector2 newPos = new Vector2(-amr.Pose.x, -amr.Pose.y);
|
||||
newPos += pivotPos;
|
||||
@@ -239,35 +222,34 @@ namespace HyundaiWIA.Management
|
||||
amr.Pose.y = newPos.y;
|
||||
var radian = amr.Pose.theta * Mathf.Rad2Deg;
|
||||
radian = -radian;
|
||||
amr.Pose.theta = radian;
|
||||
Vector3 nextPos = new Vector3(amr.Pose.x, targetAMR.transform.position.y, amr.Pose.y);
|
||||
Quaternion nextRot = Quaternion.Euler(0f, amr.Pose.theta, 0);
|
||||
//amr.Pose.theta = radian;
|
||||
Vector3 nextPos = new Vector3(amr.Pose.x, tmpamr.transform.position.y, amr.Pose.y);
|
||||
//Quaternion nextRot = Quaternion.Euler(0f, amr.Pose.theta, 0);
|
||||
|
||||
if (!motionQueue.ContainsKey(targetAMR))
|
||||
if (!motionQueue.ContainsKey(tmpamr))
|
||||
{
|
||||
targetAMR.transform.position = nextPos;
|
||||
targetAMR.transform.rotation = nextRot;
|
||||
motionQueue.Add(targetAMR, new());
|
||||
tmpamr.transform.position = nextPos;
|
||||
//tmpamr.transform.rotation = nextRot;
|
||||
motionQueue.Add(tmpamr, new());
|
||||
}
|
||||
|
||||
if (amr.moveSpeed <= 0f)
|
||||
{
|
||||
amr.moveSpeed = 1.2f;
|
||||
}
|
||||
|
||||
amr.moveSpeed = 1.2f;
|
||||
|
||||
|
||||
var mc = new motionContainer()
|
||||
{
|
||||
worker = targetAMR,
|
||||
worker = tmpamr,
|
||||
pos = nextPos,
|
||||
rot = nextRot,
|
||||
startPos = targetAMR.transform.position,
|
||||
startRot = targetAMR.transform.rotation,
|
||||
rot = Quaternion.identity,
|
||||
startPos = tmpamr.transform.position,
|
||||
startRot = tmpamr.transform.rotation,
|
||||
speed = amr.moveSpeed,
|
||||
lift = amr.lift_,
|
||||
process = 0f
|
||||
};
|
||||
|
||||
motionQueue[targetAMR].Add(mc);
|
||||
motionQueue[tmpamr].Add(mc);
|
||||
}
|
||||
|
||||
void ReceiveData_Destination(string json)
|
||||
@@ -297,25 +279,62 @@ namespace HyundaiWIA.Management
|
||||
return null;
|
||||
}
|
||||
|
||||
float timeGap = 0f;
|
||||
|
||||
motionContainer motion1;
|
||||
motionContainer motion2;
|
||||
private void Update()
|
||||
{
|
||||
foreach (var m in motionQueue)
|
||||
if (motionQueue.Count < 2)
|
||||
return;
|
||||
|
||||
var amrs = motionQueue.Keys.ToList();
|
||||
|
||||
timeGap += Time.deltaTime;
|
||||
if(timeGap > 2f)
|
||||
{
|
||||
var worker = m.Key;
|
||||
if (m.Value.Count == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
var curr = motionQueue[worker].Last();
|
||||
var motion = curr;
|
||||
motion.process += motion.speed * Time.deltaTime;
|
||||
var newPos = Vector3.Lerp(motion.startPos, motion.pos, motion.process);
|
||||
worker.transform.rotation = Quaternion.Lerp(motion.startRot, motion.rot, motion.process);
|
||||
worker.transform.position = newPos;
|
||||
worker.LiftUpdate(motion.lift);
|
||||
motionQueue[worker].Clear();
|
||||
motionQueue[worker].Add(motion);
|
||||
motion1 = motionQueue[amrs[0]].Last();
|
||||
motion2 = motionQueue[amrs[1]].Last();
|
||||
|
||||
timeGap = 0f;
|
||||
|
||||
//foreach (var m in motionQueue)
|
||||
//{
|
||||
// var worker = m.Key;
|
||||
// if (m.Value.Count == 0)
|
||||
// {
|
||||
// continue;
|
||||
// }
|
||||
// var curr = motionQueue[worker].Last();
|
||||
// var motion = curr;
|
||||
// motion.process += motion.speed * Time.deltaTime;
|
||||
// var newPos = Vector3.Lerp(motion.startPos, motion.pos, motion.process);
|
||||
// //worker.transform.rotation = Quaternion.Lerp(motion.startRot, motion.rot, motion.process);
|
||||
// worker.transform.rotation = motion.rot;
|
||||
// worker.transform.position = newPos;
|
||||
// worker.LiftUpdate(motion.lift);
|
||||
// motionQueue[worker].Clear();
|
||||
// motionQueue[worker].Add(motion);
|
||||
//}
|
||||
}
|
||||
Vector3 dir1 = motion1.pos - motion1.startPos;
|
||||
Quaternion rot1 = Quaternion.LookRotation(dir1, Vector3.up);
|
||||
|
||||
Vector3 dir2 = motion2.pos - motion2.startPos;
|
||||
Quaternion rot2 = Quaternion.LookRotation(dir2, Vector3.up);
|
||||
|
||||
motion1.process += motion1.speed * Time.deltaTime;
|
||||
motion2.process += motion2.speed * Time.deltaTime;
|
||||
|
||||
var newPos1 = Vector3.Lerp(motion1.startPos, motion1.pos, motion1.process);
|
||||
var newPos2 = Vector3.Lerp(motion2.startPos, motion2.pos, motion2.process);
|
||||
|
||||
amrs[0].transform.rotation = rot1;
|
||||
amrs[1].transform.rotation = rot2;
|
||||
|
||||
amrs[0].transform.position = newPos1;
|
||||
amrs[1].transform.position = newPos2;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ public class ClickObject : MonoBehaviour, IPointerClickHandler
|
||||
{
|
||||
CameraSocket = new GameObject(nameof(CameraSocket));
|
||||
CameraSocket.transform.parent = transform;
|
||||
FindObjectOfType<ObjectManager>().AddObject(this);
|
||||
//FindObjectOfType<ObjectManager>().AddObject(this);
|
||||
}
|
||||
|
||||
public void OnPointerClick(PointerEventData eventData)
|
||||
|
||||
@@ -5,6 +5,7 @@ using UnityEngine;
|
||||
using System.Linq;
|
||||
using UnityEditor;
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1.Mozilla;
|
||||
using Unity.VisualScripting;
|
||||
|
||||
public class StackerAnimationInfo
|
||||
{
|
||||
@@ -75,11 +76,30 @@ public class StackerCrane : MonoBehaviour
|
||||
public bool prevDirection;
|
||||
|
||||
public Cell currentForkDokcingCell;
|
||||
|
||||
// x - -9800~0
|
||||
// y - 1000~5500
|
||||
private void Start()
|
||||
{
|
||||
stackerFork.GetComponent<Tag_CraneFork>().OnCellEntered += DockingCell;
|
||||
|
||||
//AddStackerLocation(-9800, 5800, 0);
|
||||
StartCoroutine(RandPositionGeneratro());
|
||||
}
|
||||
|
||||
IEnumerator RandPositionGeneratro()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
int pillarPosition = UnityEngine.Random.Range(-9800, 1); // -9800 ~ 0
|
||||
int bucketPosition = UnityEngine.Random.Range(1000, 5501); // 1000 ~ 5500
|
||||
int forkPosition = 0; // 고정
|
||||
|
||||
AddStackerLocation(pillarPosition, bucketPosition, forkPosition);
|
||||
|
||||
yield return new WaitForSeconds(2f); // 3초마다 실행
|
||||
}
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
XAxisConnAnimate();
|
||||
|
||||
Reference in New Issue
Block a user