Forum Discussion
vtheyoshi
10 years agoHonored Guest
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...
cybereality
10 years agoGrand Champion
That's mostly correct, though you should set initialPosition in the Start() function so it's only set once.
Alternatively, you can set initialPosition with a GetKeyDown(KeyCode.L).
You'll also have to probably adjust the magnitude of MoveThrottle to get the correct speed.
Alternatively, you can set initialPosition with a GetKeyDown(KeyCode.L).
You'll also have to probably adjust the magnitude of MoveThrottle to get the correct speed.
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
- 1 month ago
- 3 years ago
- 1 year ago
- 3 months ago