Download

Attach object to HMD at runtime

Hi
I have followed this simple tutorial to attach an object to HMD and it works great. https://docs.unrealengine.com/en-us/Platforms/VR/VRCameraRefactor
What I really need to be able to do is spawn various objects and attach the them to the HMD at runtime… I have followed this howto on spawning an object and it works great as well. What I haven’t been able to figure out is how to combine the two tutorials to spawn an object just in front of the HMD after an event such as trigger press and have that object follow the HMD until its destroyed and replaced by another object.
Any help would be much appreciated!
Thanks

It seems my 2nd link was removed from the post? Nevertheless…is there no way to attach an object to the HMD at runtime? Only at compile time by making the object a child of the VR Camera?

Thanks