x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How do I swap from Teleport to Locomotion with a menu option?

Hello,

I am currently finishing up a VR pawn using the UE4 HMD/Motion controller tutorials with additional functionality for locomotion and turning from other video tutorials. However, I would like to create a menu option that will allow the player to switch between teleport and locomotion based on their preferences. I saved the original Blueprints for the default teleport functionality in the VR pawn and was wondering how to proceed to complete the feature:

Am I able to use the same VR pawn and set up a trigger that will change movement types as needed

OR

Do I need to set up two pawns, one with teleport and one with locomotion, and have them swap when the movement type is changed?

Product Version: UE 4.22
Tags:
more ▼

asked Apr 26 '19 at 07:54 PM in VR

avatar image

tjrae1807
3 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi tjrae1807,

I would recommend setting the motion controls in the one VR pawn. Creating more than one will make it more complicated. I would use a branch and a Boolean variable to switch between controller setups. This will allow you to set the option in a menu or with trigger boxes.

I've just started a YouTube channel all about VR and this is extremely high on my list for a tutorial so keep an eye on it. I'll be using a widget interaction to switch between multiple types of motion.

https://youtu.be/Jfsa4fXSJ6w

more ▼

answered Apr 26 '19 at 08:32 PM

avatar image

jonathan9232
76 5 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question