Some prefabs edit

This commit is contained in:
haitem
2022-01-29 15:34:38 +01:00
parent 44d2c3a64a
commit 120fa2a82b
9 changed files with 22 additions and 9 deletions

View File

@@ -121,6 +121,8 @@ public class PlayerController : MonoBehaviour
{
return;
}
this.downDirection = -other.GetContact(0).normal;
saveDirection = -other.GetContact(0).normal;
// TODO: Handle other PlatformTypes
Physics.gravity = -other.GetContact(0).normal * 9.81f;