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"

VR disable teleport during level sequence


What I am working at: (just for a better understanding)

I try to develope some new kind of artwork with VR. I want to mix the classical artstuff, like painting, videoart, sculpture, photography and poem to one big artworld. Therefor I am using the "normal" structure of pc games. Going from Level to Level, finding keys to open portals and so on.

My Problem: (You could read from here)

As the title says: I want to disable my teleport function during a level sequence is playing and after that I want to reactivate it. I am using the standard VR Template, so in some levels teleport is the only way to move. I tried many different things, but nothing seems to work:

Starting from EventBeginPlay:

  1. Using Blocking Volumes. a.) If I use it as a wall, you can easily teleport behind the wall. b.) If I use the blocking volume directly on the navmesh, it won't update the navigation in game. (tried it with destroy actor and set collision)

  2. Using Navmeshmodifier (set area class) same here: it won't update the navigation, so teleport is still impossible.

  3. Using the sequencer tried to move the blocking volume away, but this won't work either :-P

  4. Tried to delay the input of the BP_MotionController I am bad at BP, so this was also not succesful. Either the input is totally disabled or enabled. But I can't do it for just x seconds.

I think it is not that difficult, but I am missing the point. And also I am not so good with BP. So theoretically I know what to do, but I don't know how to.

If anybody could help, I would be really thankful.

Best wishes


Product Version: UE 4.19
more ▼

asked Sep 17 '18 at 10:50 AM in VR

avatar image

8 1 1

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

1 answer: sort voted first

Hello Haens,

To do this you will need to dive a bit deeper into Blueprints. I'd accomplish this by creating an 'AllowTeleportation' boolean in the MotionControllerPawn.

Then on the InputActions (TeleportLeft and TeleportRight) I'd use a Branch node -> If 'AllowTeleportation' is true, activate teleporter. If it is false, do nothing.

And then, for example in your level blueprint: Get Player Pawn -> Cast to MotionControllerPawn -> Drag off from "as motion controller pawn" and set your 'AllowTeleportation' variable.

I like your idea of 'one big artworld'!

more ▼

answered Sep 17 '18 at 02:07 PM

avatar image

Alex O ♦♦ STAFF
2.7k 4 10 10

avatar image HaensPaenda Sep 17 '18 at 07:38 PM

Hello Alex, Thank you very much for your quick response. And also that you like my idea. I will try your recommendation tomorrow, when I am at my desktop. And I definitely know, that I will have questions. So if it is okay, I would like to ask you tomorrow :_)

avatar image HaensPaenda Sep 18 '18 at 08:35 AM

Good Morning, Yes, it worked. Thank you so much! This was actually pretty easy and understandable, so I don't have to ask you any question. :-) Alex, you are the best!

(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