Magnet cables

This commit is contained in:
nothke
2024-08-18 16:32:52 +02:00
parent 2de1111cd0
commit 81ad6d6390
6 changed files with 732 additions and 252 deletions

View File

@@ -44,7 +44,7 @@ public class SlidingCrane : MonoBehaviour
yMotion.AccelerateTo(yTgt);
float x = Mathf.Lerp(-xRange, xRange, xMotion.progress);
float y = yMotion.progress * yRange;
float y = yMotion.progress * yRange - 3;
xMotion.Update(Time.deltaTime);
yMotion.Update(Time.deltaTime);