Calibrated conveyor speed

This commit is contained in:
Daniel Tyomin 2024-08-18 22:01:23 +02:00
parent 70d7cab3b9
commit 8e357f12d6

View File

@ -18,6 +18,8 @@ public class ConveyorBelt : MonoBehaviour
private void Start() private void Start()
{ {
startPosition = rb.position; startPosition = rb.position;
scrollingTextureSpeedMult = -0.1625f * speed;
} }
private void FixedUpdate() private void FixedUpdate()