- Home /
Oculus Quest player controller not moving on the vertical axis when using New Vector3 script
Hey guys,
I'm trying to change the transform position of the character controller or OVRPlayer Controller to the position of the hand controller whenever I grab something through a script.
So let's say I reach for an object above me with my hand by holding down the grab key and keeping it pressed, my transform position would change to match the hand controller position. Much like rock climbing.
The movement on the horizontal axis are working but for some reason nothing happens in the vertical axis. My guess is the character controller I have restricts movement in the vertical axis, probably the settings? I think this might be the case as a tried to change the player controller position by placing a player.transform.position + 5.0f in the vertical whenever I grab something - nothing happens.
Would like to ask for your help with this. Thanks.
Your answer
Follow this Question
Related Questions
Move player between 3 given points only by touching on the left/right side of the screen 1 Answer
Preventing glitching through colliders 1 Answer
how to add a drag/resistance effect to my character's movement 2 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
How do I make an object in game face the direction it's traveling while viewing from above? 1 Answer