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. 

Daydream VR throwing action

Hi all,

I'm looking for a way to achieve a 6DoF style throwing interaction using a 3DoF controller. I have been unsuccessful in finding any tutorials for UE4, while there have been a few for Unity using some of its engine specific objects.

Does anyone have any experience with this or an idea of how to achieve this?

Thanks, Velrin

Product Version: UE 4.18
more ▼

asked Apr 19 '18 at 01:09 PM in Using UE4

avatar image

375 2 8 13

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

1 answer: sort voted first

Usual approach I've seen and tried is to use the HMD look direction to determine where the player wants to throw. Then the controller movement is mostly used to trigger a throw, rather than define it. You can get a reasonable power for the throw from the controller. Taking the HMD look direction you pick a throw target from the scene - ray cast. Then it is fairly simple maths to find the launch velocity needed to throw from where you have the hand to the throw target. That gives you a perfect throw. Then, you look at the motion from the controller, decide how close to what an "ideal" throw that is in order to adjust the perfect launch velocity down to give a flawed, but plausible throw. That is assuming you don't just want perfect throws.

more ▼

answered Apr 20 '18 at 07:15 AM

avatar image

368 3 7 20

(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