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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

VR Weapon holsters

So... Basically, I want my Player to have two Gun/Sword/Object holster on the left and right of his hip where his Weapon is "stored", so he can pick it up.

Like in Robo Recall, where the Player got a Gun on each side of his hip. They are floating and always move with the camera. I tried it with "Spring Arms" inside my Pawn but that does not work as planned.

I hope some of you got a solution for it. Or can tell me how to use the Spring Arms right.

Product Version: UE 4.20
Tags:
more ▼

asked Dec 12 '18 at 08:44 PM in VR

avatar image

ConKucki
45 3 4 7

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

1 answer: sort voted first

No need to use spring arms for something like this, just attach them to the pawn as children objects and place them where you want them to be for the player. I tend to make a waist object that matches the horizontal rotation of the camera but not the verticle and attach objects to it.

more ▼

answered Dec 12 '18 at 10:40 PM

avatar image

shardfall
96 1 2 8

avatar image ConKucki Dec 13 '18 at 04:07 PM

That sounds perfect. I try it and tell you later if it worked!

avatar image ConKucki Dec 13 '18 at 09:11 PM

What did you mean with "make a waist object that matches the horizontal rotation of the camera but not the vertical"

Because when I attach Objects to my Pawn, they move with the Pawn but not with the Camera. And when I attach objects to my camera, they move with it and even move when the Camera rotates (looks up/down). So when the Player looks down (to the hip) to grab an object, the object moves with it and the player can't see it.

So, how can I attach an object to move with the cameras position but not with its rotation?

avatar image M_Forshaw Jan 10 '19 at 05:27 PM

I need help with this issue too. I have my holsters at their desired place. The player can look down, see the holsters and interact with them. However, as the player rotates, the location of the holsters doesnt follow, so a holster that started on the left, will end up in front or on the right of the player. Any explanation on how to make the holsters sit in place properly would be greatly appreciated. The internet seems a bit bare on tutorials such as this

(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