I want to create a VR rowing experience for Quest 3. I want the user to move along a pre-determined path (no steering possible). As they move their arms in a rowing motion faster, they will move faster through the level. If they stop rowing, they will stop. I do not know where to start with this. I’ve used Unreal in the past but not for a while now. I have no coding experience. The point of this for me is to create fun, dark-ride types of environments for people to row through and be entertained.
I’m looking for advice on where to start. Thanks in advance!
Hey there @fma_viz! Welcome back to the community! From a high level, it sounds like you need some resources on determining how fast the player’s arms are moving (or how far per tick) then applying that to the spline movement speed, some basics in VR development, and how to move an object along a spline.
These tutorials should help you get a basic prototype together, but you’ll have some supplementary learning in between when you hit some roadblocks.
VR basics:
Spline movement:
When it comes to measuring distance travelled since last tick, this will be your project’s capstone and a somewhat less straight forward answer.
Some quick code for it would look a bit like this:
Instead of the print string you’d adjust your calculation (if you need to) and add that to your spline speed. Hope this helps!
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.