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 the Right Motion Controller Taking Input

I'm trying to pick up an object but only if the hand has its grip button pressed. The motion controller BP has a variable to check this and it works perfect on the right hand. On the Left hand the input action never fires, so it can never pickup anything. Pressing any of the four grips only fires the event in the right motion controller when it should fire in both. I don't see why it would only be the right one??

Edit: I believe the issue has something to do with accepting input from multiple instances of the same blueprint, because i can receive input just fine from my InputAction, it just only fires the event in the last instance that had input activated in.

alt text

alt text

Product Version: UE 4.16
more ▼

asked Aug 07 '17 at 04:56 PM in VR

avatar image

11 4 10 13

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

1 answer: sort voted first

Since you are using the BP_VR Template, it's already done for you. Look at the MotionControllerPawn blueprint. Notice how it has InputAction GrabLeft and InputAction GrabRight and uses the correct instanced controller reference to execute the Grab.

more ▼

answered Aug 07 '17 at 11:56 PM

avatar image

2.4k 61 27 113

avatar image PatrickRegal Aug 08 '17 at 02:08 PM

This is not correct, Using the correct controller isn't what matters, my InputAction is setup the same except it just uses the grips, not the triggers. I did test using the GrabLeft and GrabRight, they have the same problem for some reason, they don't fire when in the blueprint. I'm trying to check if either hand has the grips pressed down, if they do, then allow the object to be picked up. The problem isn't check if the grip is pressed, that works fine, the problem is that the event only fires in one instance of the BP_MotionController instead of both. For example, when i press the grip on either hand, it should fire my print statement twice, because the InputAction event should fire in both hands, but it doesn't, it only does it in one hand. Thanks tho

(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