ReelsMoving

This commit is contained in:
FreshMix committed 2025-10-08 17:49:35 +03:00
1 parent eb535311d7
commit 3a94e032c9
565 files changed
+68433 -13960

No files matched your search

+6 -2
View File
@@ -1,3 +1,4 @@
using GogoGaga.OptimizedRopesAndCables;
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit.Interactables;
@@ -5,13 +6,15 @@ public class MaterialRopeDetachAction : MonoBehaviour
{
Vector3 InitialCords;
Quaternion InitialRotation;
//Rope Rope;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
InitialCords = transform.position;
InitialCords = transform.localPosition;
InitialRotation = gameObject.transform.rotation;
//Rope = gameObject.GetComponentInChildren<Rope>();
}
// Update is called once per frame
@@ -22,8 +25,9 @@ public class MaterialRopeDetachAction : MonoBehaviour
public void reset()
{
transform.position = InitialCords;
transform.localPosition = InitialCords;
transform.rotation = InitialRotation;
//Rope.RecalculateRope();
}