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"

Daydream controller - spawning projectiles from wrong location


I'm playing around with Daydream looking to get a gun of sorts functional that fires projectiles. I noticed that 'GetWorldTransform' didn't seem to actually pick up movement and after some poking around discovered 'Get Google VRController Orientation'.

This seems to handle getting projectiles to fire in the right direction, but they don't spawn from the motion controller which is offset from it's initial placement (default lower right for right handed). I tried adding a sphere collision as a child of the motion controller and use that for SpawnActor transform but the projectile still does not reflect the offset.

Something I'm missing?


Product Version: UE 4.15
more ▼

asked May 09 '17 at 02:03 AM in VR

avatar image

14 3 5 8

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

1 answer: sort voted first

I used the 'get laser' node from the 'googlevr controller' and then from it the 'get location' and it will be at the exact end of the controller mesh :)

more ▼

answered May 09 '17 at 02:54 PM

avatar image

1.5k 43 176 75

avatar image HammManCheese May 09 '17 at 05:20 PM

Awesome, that works! Cheers!

(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