Daydream controller - spawning projectiles from wrong location

Hello,

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?

Thanks!

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 :slight_smile:

Awesome, that works! Cheers!