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 do I make VR hands hold a gun?

Can anyone point me in the direction on how to make the VR hands in the VR template hold a pistol like in Robo Recall?

Product Version: UE 4.15
Tags:
robo recall.jpg (9.9 kB)
more ▼

asked Jun 04 '17 at 08:22 AM in VR

avatar image

Pharmadude
13 2 9 7

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

1 answer: sort voted first

You can implement this in a few ways. The easiest is to change the VR hands mesh into a the gun mesh, however this means you no longer can see the players hand. The way I implemented this was to make an actor called Gun, and add the Pickup Actor Interface to it. When the gun actor is picked up use the AttachToComponent on the gun actor and attach it to the Hand mesh. You'll want to make a custom socket to make sure it attaches to the right place. To get this looking really nice you'll need to animate the hand to be holding the gun properly, along with making the trigger pull work, however this should be enough to get you started. Good luck!

Please make sure to accept this answer if I helped, thanks :)

more ▼

answered Jun 04 '17 at 08:55 AM

avatar image

Reuben Ward
343 8 4 16

(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