Ejemplo n.º 1
0
 void gravityTest()
 {
     rb.useGravity = false;
     Debug.Log("gravity test");
     player.ApplyGravity(hit.normal * (-9.8f) * 10);
 }