예제 #1
0
 void FixedUpdate()
 {
     // Allow this body to be influenced by planet's gravity
     planet.Attract(rigidbody);
     if (fpc.grounded == true)
     {
         planet.React(rigidbody);
     }
 }