I’ve been using the default grabbing BP included in the VR template. It uses the attachtocomponent node to grab objects with the controller. It has been working well, but I now want to grab a physics actor and have run into issues.
I know I need a physics handle, but am confused as to where to place it (in the object being grabbed, the motion controller - or both?). Also, because I have something working, I’m hoping I can incorporate the scripting into what I already have.
Right now, I am using the following function in the motioncontroller bp to fire an event within the object:
Then, this is being run in the object I want to grab:
How can I alter this setup to work with a physics object instead of a static mesh component? From what I understand, I will want to use a ‘grab’ node instead of an attach node. And I need to incorporate a physics handle somewhere.
Any help at all is appreciated.