From b2c581a8d53e5c8fa516a7c77953a0dc6dbf9e37 Mon Sep 17 00:00:00 2001 From: Soulaha Balde Date: Wed, 19 Oct 2022 22:16:14 -0400 Subject: [PATCH] save scene --- Assets/Scenes/Grappling/Grappling.unity | 23 ++++++++++++++++++----- Assets/Scenes/Grappling/moveup.cs | 2 +- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/Assets/Scenes/Grappling/Grappling.unity b/Assets/Scenes/Grappling/Grappling.unity index 44b69f5..3deadb7 100644 --- a/Assets/Scenes/Grappling/Grappling.unity +++ b/Assets/Scenes/Grappling/Grappling.unity @@ -1734,7 +1734,8 @@ GameObject: - component: {fileID: 1094313416} - component: {fileID: 1094313415} - component: {fileID: 1094313419} - m_Layer: 0 + - component: {fileID: 1094313420} + m_Layer: 6 m_Name: Cube m_TagString: Untagged m_Icon: {fileID: 0} @@ -1830,11 +1831,23 @@ Rigidbody: m_Mass: 1 m_Drag: 0 m_AngularDrag: 0.05 - m_UseGravity: 1 - m_IsKinematic: 0 + m_UseGravity: 0 + m_IsKinematic: 1 m_Interpolate: 0 m_Constraints: 0 m_CollisionDetection: 0 +--- !u!114 &1094313420 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1094313414} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 6274607e1747d7342942440e01be026f, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &1166806157 GameObject: m_ObjectHideFlags: 0 @@ -2260,7 +2273,7 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1530935835} - m_LocalRotation: {x: 0.0000000016397671, y: 0.9994022, z: -0.03457181, w: 0.0000000474024} + m_LocalRotation: {x: 0.000000001639493, y: 0.9994022, z: -0.03457181, w: 0.000000047394476} m_LocalPosition: {x: 4.54, y: 6.64, z: 22.81} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 @@ -3191,7 +3204,7 @@ Transform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2129712287} - m_LocalRotation: {x: 0.0000000016397671, y: 0.9994022, z: -0.03457181, w: 0.0000000474024} + m_LocalRotation: {x: 0.000000001639493, y: 0.9994022, z: -0.03457181, w: 0.000000047394476} m_LocalPosition: {x: 4.54, y: 6.64, z: 22.81} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 diff --git a/Assets/Scenes/Grappling/moveup.cs b/Assets/Scenes/Grappling/moveup.cs index ce05773..68894c6 100644 --- a/Assets/Scenes/Grappling/moveup.cs +++ b/Assets/Scenes/Grappling/moveup.cs @@ -14,6 +14,6 @@ public class moveup : MonoBehaviour // Update is called once per frame void Update() { - rb.MovePosition(transform.position + new Vector3(0,1,0)*Time.deltaTime); + rb.MovePosition(transform.position + new Vector3(0,5,0)*Time.deltaTime); } }