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"

How to switch from VR to standard mode during open level

Hi,

I am trying to create two different game mode for the same level. To do so I duplicate my level. One for VR mode and the other for the standard mode (maybe there is a better way to do it). I understood how to use stereo on and off. In fact it is working but, when I switch from standard mode to VR mode I have no more access to the motion controller action ( I am using the BP for the VR template). I mean I cant no more teleport, grab, interact, etc). It is probably something simple and the problem is probably created because I am using a different BP character and gamemode, but I don't find the way out the activate the "BP_motion controller".

Thanks for your help!

Product Version: UE 4.16
Tags:
more ▼

asked Jun 16 '17 at 04:54 PM in VR

avatar image

Entrestudio
16 1 4 5

avatar image 6r0m Jun 18 '17 at 05:28 PM

Did you check your two game modes - standart and vr (with own pawn)?

avatar image Entrestudio Jun 20 '17 at 04:43 AM

Yes, each level has is own mode and each one is connected to is respective pawn character. the standard use the project settings configuration and the vr mode has a override game mode.

Here my setup

alt text

avatar image 6r0m Jun 20 '17 at 12:06 PM

when vr game mode started eject self from pawn and check in the world output - is there are your vr pawn or temporary default one?

avatar image Entrestudio Jun 20 '17 at 03:25 PM

Sorry but I am not sure to understand you well. What do you mean by "Eject self from pawn and check in the world output"

I also tried with unpossess and possess pawn, but isn't working. Like I said, I get control of my motion controller pawn, but the connection between the "MotionControllerPawn" and the "BP_MotionController" is "broken". in other word, The VR template use 2 actors to create the VR character and I think that the problem came from this combination. It is only an opinion, this is my first VR project.

avatar image 6r0m Jun 20 '17 at 05:24 PM

eject is unpose.

when you are in upose you can select your pawn and check by outliner which in use. you can add breakpoints in the logic of motion controller pawn when they spawn motion controllers at the begin play

avatar image Entrestudio Jun 20 '17 at 05:56 PM

I tried this in the VR level blueprint and also directly inside the motion controller pawn, but isn't working, there is something that i am doing wrong? alt text

I tried this configuration also : link text

avatar image 6r0m Jun 20 '17 at 06:30 PM

Do you have VRPawn with controllers in the Outliner when you can't use they http://joxi.ru/GrqMJ4yHQJQXNr ?

avatar image Entrestudio Jun 20 '17 at 06:44 PM

I have the VRpawn inside my level /outliner.

alt text

avatar image 6r0m Jun 20 '17 at 06:49 PM

when you PLAY (and can't teleport) check it and your controllers too

ps: in my screen you can see I testing in play mode

avatar image Entrestudio Jun 20 '17 at 07:17 PM

When I hit play directly from the VR level, I can teleport. here the screenshot. alt text

The problem is when I switch from the standard mode to the VR

Here the screenshot during play in standard level alt text

And here when I "open level" from the standard to the VR level : alt text

avatar image 6r0m Jun 20 '17 at 07:21 PM
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

oh man! It Work! I can now switch between both mode!

Thank you very much for your great help!

more ▼

answered Jun 20 '17 at 07:52 PM

avatar image

Entrestudio
16 1 4 5

avatar image 6r0m Jun 20 '17 at 08:44 PM

wellcome, make this question "answered" if so)

(comments are locked)
10|2000 characters needed characters left
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