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"

Vive - How to set up more than two motion Controllers

Hi!, I successfully tried out the motion controller interaction and inputs via blueprints. In the VR documentation is specified that only 2 motion controllers can be set per HMD device (left and right controllers).

However i connected a third Vive Controller and Steam VR was enable to pair the third controller being connect yet the others two controllers.

So i guess the SteamVR plugin can track multiple motion controllers.

My question is, in UE4 how can i get position/orientation or anything from a third controller, having only one HMD headset?

Thanks in advance!

Product Version: UE 4.12
Tags:
more ▼

asked Jul 26 '16 at 04:55 PM in VR

avatar image

enrique.delta3
71 1 4 14

avatar image Thoeme Jan 07 '18 at 09:38 PM

Does anybody have an more in-depth answer to this problem?

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

3 answers: sort voted first

I may be totally wrong here, but the first thing I would do is look into the SteamVR API and the C++ engine implementation. You WILL have to modify the engine for now to get it working, but I think it's possible to track a third controller. I've seen it done at Valve, so the hardware is certainly capable of tracking more than two controllers. Right now, the engine is hard coded to support two controllers, so you'd have to mod the engine code to support three or more controllers. I'd start looking here:

\Engine\Plugins\Runtime\Steam\SteamVR\Source\SteamVRController\Private\SteamVRController.cpp

more ▼

answered Jul 26 '16 at 10:16 PM

avatar image

Slayemin
799 48 29 72

avatar image enrique.delta3 Jul 27 '16 at 07:08 PM

Ok i will try this aproach, even i had some probles trying to compilate the modifications. Do you have any guide to achieve the compilation of an existing plugin modification? If this is unreachable, i searched some documentation of mixed reality tho, i'm trying a third controller for two things, track two foots with two more Vive controllers and the other thing is track a physical camera with one Vive Controller.

avatar image Slayemin Jul 27 '16 at 08:33 PM

I've talked with Nick Whiting (the Lead VR dev for UE4) a week or two ago. They're going to be releasing mixed reality VR support in 4.13 (or later), but they are currently working on it. It might be experimental on release, who knows? But support for that is coming and I would expect support for additional controllers paired with a physical camera.

If you're feeling brave, you can download the most recent release of the engine and compile it and see where they're at with this. Compiling takes me about 45 minutes, so if you need to make any source code changes, it's going to cost you a lot of time because your iteration cycle is increased to 45 min / iteration. But, it's possible if you're really willing to stick it out :)

avatar image enrique.delta3 Jul 27 '16 at 08:44 PM

Ok will try it, i need that mixed reality working for customers and i dont want to go back to unity. Thanks and i will mark this as good answer tho

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

Excuse me,may I ask you to solve this problem?I faced the same problem。

more ▼

answered Nov 08 '16 at 06:24 AM

avatar image

zhuangduo
1

avatar image enrique.delta3 Nov 14 '16 at 12:39 PM

I searched engine code for make modifications and it seems possible if you have time to compile engine code (and if you search how to do it). Look at the first comment and there u have some hints of where to search for. My solution was make it in Unity since i was searching some MixedReality features. The third controller was for a camera, and Unity has specifically this feature added by the SteamVR plugin. But if you want a third or four controller for like foots tracking i cant help you more than that. Good luck!

avatar image Vahid Nov 21 '16 at 08:37 AM

When you just editing plugins in ue4 source codes build time is short, my build time for entire source is about 45 mins but when i working on steamvr plugin it's about one min even less i built even in 10 seconds!

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

Does anybody have an more i

more ▼

answered Jan 07 '18 at 09:37 PM

avatar image

Thoeme
8 2 5 8

(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