What would be the methodology for picking something up like a torch with the Vive? I can pick things up with my FPS character using physics handles, but I would want to pick up an object and orient it specifically if I was holding it with the controller? perhaps using sockets? I don’t have the Vive yet so can’t really experiment with this.
hello… using the attachtocomponent or attach to actor function works pretty well, you have to ensure that all your assets have the correct orientation and root position though, I’ve been using the 3d model of the vive controller as the target mesh to attach to.
If you have a skeleton mesh, you can attach to a specific socket but I’ve had some trouble with that.
With this method the object actually snaps to the correct holding position, I think this is usually desirable, although it doesn’t always look very natural.
You can use the detach actor function to drop, whilst also re-enabling physics so it will fall.
It is a SteamVR resource. The location for mine is:
C:\Program Files (x86)\Steam\steamapps\common\SteamVR\resources\rendermodels\vr_controller_vive_1_5
I found the material didn’t import, if this happens for you then you need to also import ‘onepointfive_texture.png’ and ‘onepointfive_spec.png’, open the material in UE4 the mesh is using and set ‘onepointfive_texture’ as ‘Base Color’ and ‘onepointfive_spec’ as ‘Specular’.