Enabling Jump!
Hello all,
My novice programming skills have come by to ask how to enable Jumping for the OVRPlayerController
Plz halp!
Thank you,
Alex
My novice programming skills have come by to ask how to enable Jumping for the OVRPlayerController
/// <summary>
/// Jump! Must be enabled manually.
/// </summary>
public bool Jump()
{
if (!Controller.isGrounded)
return false;
MoveThrottle += new Vector3(0, JumpForce, 0);
return true;
}
Plz halp!
Thank you,
Alex
