This commit is contained in:
nexovec committed 2022-01-29 16:28:06 +01:00
commit 4044a13e13
37 files changed
+3531 -1115

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ public class PlayerController : MonoBehaviour
rb.AddForce(other.transform.forward * platform.speed * Time.deltaTime, ForceMode.Impulse);
break;
case PlatformManager.PlatformType.SpeedDown:
rb.AddForce(other.transform.forward * platform.speed * 10 * Time.deltaTime, ForceMode.Impulse);
rb.AddForce(-other.transform.forward * platform.speed * Time.deltaTime, ForceMode.Impulse);
break;
default:
gDirection = -transform.up;