Forum Discussion
Anonymous
12 years agoOVRPlayerController Jump
I am looking Using the OVRPlayerController Script to try and make the player jump
When I link the Function Jump() to a Button the player jumps but only vertically - you lose any directional momentum?
Any ideas?
When I link the Function Jump() to a Button the player jumps but only vertically - you lose any directional momentum?
Any ideas?
4 Replies
Replies have been turned off for this discussion
- AnonymousNever mind it was this...
// No positional movement if we are in the air
if (!Controller.isGrounded)
MoveScale = 0f; - CHADALAK1Explorerwell when i try to jump, it freaks the hell out and throws me out of the map :(
[EDIT]
Actually i decided to use only the OVRCameraController and then try to make my own PlayerController. works much better ;) . add ur movement, then add the MouseLook script from the FPS controller. but ONLY the X. one quick way to get a beta controller. - mdudaHonored GuestCan you share your script for player controller?
Working with the same issue...
Regards, - cyberealityGrand ChampionYou can try using the instructions here (I believe they should still work):
viewtopic.php?f=37&t=3018&p=37280#p37280
Make sure to pull the OVRCameraController out of an OVRPlayerController instance. Don't use the one in the prefabs folder as it does NOT work.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago