So, apparently simply parenting beam to Gear VR controller in the components hierarchy window doesn’t work. I had to do this to make beam show up as if it’s coming out off the controller:
Looks like you have Late update on. To my understanding, when you set a property like transform, it will not get the late update transform. Only if you have the beam attached to the MotionController it will excact. Alternatively turn off Late update if that doesn’t bother you. Personally i tried both with on and off, and can’t tell the difference really. Perhaps someone else can enlighten me, why it is super bad practice to turn it off though, because it seems to be the common oppinion.
Also note, if you attach your beam to your MotionController, but set properties on tick, it will again break late update for it.
MordenTral dug into the source and it seems that I need to manually attach component on BeginPlay: GearVRController > Get Motion Controller > attach beam to that. Will test it after work.
Anybody fancy sharing a small project of how you do it…
I have tried attaching to the Gear Controller…but its being a pain (does it need any update once attached to the Controller) ? (what the settings on the Attach to Component ? - Snap Target apart from scale ) ?
I just hate the fact I have to compile for the phone each time (round trip 4 mins) …ah to be able to test on PC !!!
OK UPDATE…managed to get a pointer sort of working… (was attaching the parent and pointer wrong way around…haha)
Has anyone got the the “widget interaction” thing working ? - I want to press buttons
Its not a bug, the tracked motion controller component is actually attached to a scene component which is named the GearVRMotionControllerComponent. So you can’t attach things directly to it since the root is not the tracked component.