06-09-2013 04:24 PM
06-10-2013 10:33 PM
06-11-2013 12:04 PM
if (Input.GetKey(KeyCode.F)) Jump();
06-11-2013 03:15 PM
06-21-2013 02:45 AM
"cybereality" wrote:
In OVRPlayerController.cs in the function UpdateMovement(), you can add the following:if (Input.GetKey(KeyCode.F)) Jump();
This will let you press the F key to jump. You may also want to edit the properties in Unity to get a better feel to the jump. In the OVRPlayerController script properties there is the Motor->Jump Force. And Physics->Gravity Modifier.
Hope that helps.
06-21-2013 05:07 PM
06-24-2013 03:18 AM
06-24-2013 06:17 PM
06-25-2013 07:10 AM
06-25-2013 09:43 AM