commit 508ab651aea7aaca1a70a065dadd70ccd710adcf
parent f3944ca658bd518b0e84c492a4325fa87b1673c0
Author: PlutoTank <qwolkensperg@gmail.com>
Date: Thu, 23 Apr 2020 16:18:46 -0400
Added moving platforms
Diffstat:
4 files changed, 179 insertions(+), 0 deletions(-)
diff --git a/Assets/Scripts/Slimecing/Environment/Moving/MovingPlatformLogic/BasicMovingPlatform.cs.meta b/Assets/Scripts/Slimecing/Environment/Moving/MovingPlatformLogic/BasicMovingPlatform.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 10b506f3e93ce7040b99df1ffcee2bcc
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Scripts/Slimecing/Environment/Moving/RigidbodyMover.cs.meta b/Assets/Scripts/Slimecing/Environment/Moving/RigidbodyMover.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 936c0bcdd9b67ab4699f826c33de0694
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Scripts/Slimecing/Environment/Moving/RigidbodyMoverState.cs.meta b/Assets/Scripts/Slimecing/Environment/Moving/RigidbodyMoverState.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 1c06cade2fe072f4ca73ea601574848d
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/_Scenes/Testing/SLope.unity b/Assets/_Scenes/Testing/SLope.unity
@@ -3985,6 +3985,152 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1541356490}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!1 &1589352741
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1589352748}
+ - component: {fileID: 1589352747}
+ - component: {fileID: 1589352746}
+ - component: {fileID: 1589352745}
+ - component: {fileID: 1589352744}
+ - component: {fileID: 1589352743}
+ - component: {fileID: 1589352742}
+ m_Layer: 0
+ m_Name: Cube (37)
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1589352742
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1589352741}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 10b506f3e93ce7040b99df1ffcee2bcc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ translationAxis: {x: 1, y: 0, z: 0}
+ translationPeriod: 10
+ translationSpeed: 1
+ rotationAxis: {x: 0, y: 1, z: 0}
+ rotSpeed: 15
+ oscillationAxis: {x: 0, y: 0, z: 0}
+ oscillationPeriod: 10
+ oscillationSpeed: 10
+--- !u!114 &1589352743
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1589352741}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 936c0bcdd9b67ab4699f826c33de0694, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ objectRigidbody: {fileID: 1589352744}
+ moveController: {fileID: 1589352742}
+--- !u!54 &1589352744
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1589352741}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 1
+ m_AngularDrag: 0.05
+ m_UseGravity: 0
+ m_IsKinematic: 1
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!65 &1589352745
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1589352741}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!23 &1589352746
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1589352741}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_DynamicOccludee: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_RayTracingMode: 2
+ m_RenderingLayerMask: 1
+ m_RendererPriority: 0
+ m_Materials:
+ - {fileID: 2100000, guid: d0bb19cad963bad4095d65f8bb48c07e, 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_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &1589352747
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1589352741}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &1589352748
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1589352741}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: -65.87, y: -15.179999, z: -24.33}
+ m_LocalScale: {x: 4.71313, y: 0.54524815, z: 4.435137}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 7
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1625524698
GameObject:
m_ObjectHideFlags: 0