Exemple #1
0
 public void MovePlayer()
 {
     AddForceToPlayer(playerForceControl.CalculateForce(MovementService.GetJoystickInputHorizontalRaw(joystick),
                                                        MovementService.GetJoystickInputVerticalRaw(joystick),
                                                        MovementService.GetDeltaTime()));
 }