-
Notifications
You must be signed in to change notification settings - Fork 1
Home
The VR Drag Locomotion Move/Rotate/Scale project provides blueprint code that allows users to move their VRpawn by grabbing and pulling in the x, y, and z directions, as well as rotating around the Z-axis and scaling the world by pulling the controllers together or apart. This blueprint code is compatible with Unreal Engine 4.27 and Unreal Engine 5+, and has been tested with the default VR Template project, Enhanced Input, and Meta Quest HMD (tested with both v1 and v2).
To use this blueprint code, follow the instructions listed in the README file.
After following the setup instructions, you can use the controller grips to move your VRPawn around the scene. Use both grips, grip and rotate controllers around each other to rotate your VRPawn around. Use both grips, pull together or apart, to adjust the world scale.
Some ideas for potential improvements or new features that could be added to this project in the future.
- Streamline setup process
- Integrate C++ movement code from currentProject
- Add support for multi-axis (XY) rotation as an expanded comfort setting, you should be able to lie down comfortably.
- Add an option to restrict movement to a single plane
- lacks easy backward compatibility prior to 5.1 due to enhanced input actions. Likely will just stop trying to support prior versions unless needed for currentProject
If you'd like to contribute to the VR Drag Locomotion project, please feel free to fork the project and create a pull request with your changes. Potential contributions could include:
- Creating more documentation/tutorials
- Adding screenshots
- Optimizing code for better performance
Thank you for your interest in the VR Drag Locomotion Move/Rotate/Scale project!