mirror of
https://github.com/nothke/quality-control.git
synced 2025-08-29 15:13:42 +00:00
Magnet cables
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user