How to do in VR (BP_XRPawn) move along a spline - they result will be fly over the terrain

How to do in VR (BP_XRPawn) move along a spline - they result will be fly over the terrain with possibility of stop by button A on motion controller, can someone help none of my BP and tutorials work

Hi Charlie,

Have you been able to get an object to move along a spline?

Something like this.

The next step would be replacing the object with your currently possessed pawn.

It’s driven by a timeline, so for the stop/start it would be a matter of feeding motion controller input into the pause/play functions of the timeline.

Let me know how far you get.

Hi,

thank you for you answer. i already create a logic for movement but maybe your example its better because its controlled by timeline. My BP now works in VR with VRpawn(BP_XRPawn) but now i fighting with implementation of movement around spline - like pause the user and go reverse or continue. I think the problem is that Can you give me a hint what i need to change please? In attach is the BP.,from event ick delta second go green to both logic, the top one didnt work (pause option) bottom one work but user cant control the flight (pause,reverse, continue on spline), the top test with flipflop and strings is not work also, the key is binded well cause it print string - text. Thank you so much and appreciate your help.

Best,

CH.

I also now try the approach from example you send but its not working also, the problem for VRpawn (BP_XRPawn) is with timeline combination i think. See in attach - static actor (cube) changed for VRPawn.

Thank you,

Best,

Ch.

That Blueprint looks good, I’m not sure why it’s not working.

I set it up on my end and was able to get expected results. (Remember to set ‘Timeline Length’ floating point variable to something other than 0)

Here’s the project file: (made in UE 5.6, so it will work in 5.6 or 5.7 - used the Meta Plugin for VR functionality)

VR_Spline.zip (24.1 MB)

I simplified the looping of the timeline, also added the play/pause functionality w/ Spacebar. (and ‘Enter’ key to recenter)

Let me know if you have any troubles with motion controller input or any other questions!

Hi Astrotronic,

thank you so much for help and files, i will look on it shortly.

Really Apreciate your help.

Best,

Charlie