Stop OVRplayerController movement but allow rotation.

Hello

I am using a code that moves the OVRPLayerController.

  • player.GetComponent().Move(direction *Time.deltaTime);

But During that I want to block OVRPlayerController from moving AND still allow rotation. Right now I have used :

  • playerController.enabled =false;
  • gamepadController.enabled =false;

But that locks also the rotation. Is there a good way of doing this? Or I will need to modify default controller files?

Answered → Stop OVRplayerController movement but allow rotation. - Questions & Answers - Unity Discussions