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"

Only spawn one VIVE controller

Hi

My game only needs one VR controller, I cannot seem to make unreal only spawn a single controller. Even if I remove all reference to the RIGHT controller from the motion controller example, you need to turn on both controllers for the LEFT controller to spawn.

Is there a way to make the first controller turned on the LEFT controller. Without having to turn the other controller on?

Thanks.

Product Version: UE 4.18
Tags:
more ▼

asked Jan 18 '18 at 10:23 AM in Blueprint Scripting

avatar image

KelDG
27 6 8 15

avatar image vr_marco Jan 18 '18 at 11:01 AM

So if you edit the MotionControllerPawn in the standard VR template and disconnect the execution pin from the second Sequence, in the part that spawns the RIGHT motion controller/RIGHT hand, it doesn't work as expected?

avatar image KelDG Feb 16 '18 at 09:57 AM

Sorted it, whatever controller I turn on first, unreal calls the "Right Controller". I disabled the left from the VR template and hooked up my game to work singly with the right controller. Now as I turn on and off the controllers one at a time they are assigned as the right controller.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Sorted it, whatever controller I turn on first, unreal calls the "Right Controller". I disabled the left from the VR template and hooked up my game to work singly with the right controller. Now as I turn on and off the controllers one at a time they are assigned as the right controller.

When the left controller is turned on, they get reassigned to the steam VR left and right.

more ▼

answered Feb 16 '18 at 09:59 AM

avatar image

KelDG
27 6 8 15

(comments are locked)
10|2000 characters needed characters left

Are you sure the controller you are turning on is the left or right controller only, i.e are you not spawning the right controller but actually turning on the right controller?

The other solution could be to just let them both be turned on and spawned, then hide the one that you are not using? Possibly check the tracking state of the controller and not set it visibile if it is not found, otherwise show the controller.

Then it shouldn't matter which controller you actually have turned on.

more ▼

answered Jan 18 '18 at 11:52 AM

avatar image

Dune
1.9k 52 40 200

(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