Repair speed down
This commit is contained in:
1 parent
6d7f20fc6e
commit
9c2e253a74
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user