Exemple #1
0
 /// <summary>Get raw rotation of the player hand</summary>
 public static Quaternion GetHandRotation(this InputOculus self, Side side)
 {
     return(OVRInput.GetLocalControllerRotation(side == Side.Right ? OVRInput.Controller.RTouch : OVRInput.Controller.LTouch));
 }
Exemple #2
0
 /// <summary>Get raw angular velocity of the player hand</summary>
 public static Vector3 GetHandAngularVelocity(this InputOculus self, Side side)
 {
     return(OVRInput.GetLocalControllerAngularVelocity(side == Side.Right ? OVRInput.Controller.RTouch : OVRInput.Controller.LTouch));
 }