Movement control with leaning
Hi all,
I need help modifying the Player Controller script. I would like to create a game in which you move around the world by leaning forward and backward, much like the game Shadows of Isolation.
Leaning forward should result in forward motion and leaning backward should result in backward motion.
What part of the OVRPlayerController script controls translation based on the tracking data? Sorry for such a basic question.
I would like ultimately for the player to be able to hold down a button and gradually increase their speed, such that without holding down the button, they wouldn't move at all when leaning forward. But the longer they held down the button, the faster/further their lean would take them.
Any help you can offer would be greatly appreciated. I tried searching previous posts for answers and came up empty-handed, so I would also be glad to be directed to other related threads.
Thanks in advance!
I need help modifying the Player Controller script. I would like to create a game in which you move around the world by leaning forward and backward, much like the game Shadows of Isolation.
Leaning forward should result in forward motion and leaning backward should result in backward motion.
What part of the OVRPlayerController script controls translation based on the tracking data? Sorry for such a basic question.
I would like ultimately for the player to be able to hold down a button and gradually increase their speed, such that without holding down the button, they wouldn't move at all when leaning forward. But the longer they held down the button, the faster/further their lean would take them.
Any help you can offer would be greatly appreciated. I tried searching previous posts for answers and came up empty-handed, so I would also be glad to be directed to other related threads.
Thanks in advance!
