Download

Need Help with Third Person Player Grabbing Physics Object

I’ve been trying for a very long time today to get my player character to grab an object that is simulating physics. I don’t know how to have an object ragdoll yet stay in the player’s hand at the same time. I’ve tried combining the advice of these two videos: https://www.youtube.com/watch?v=OltZ-xFz8IQ , https://www.youtube.com/watch?v=6WCM9bZiPcQ , but to no avail.

I’ve included screenshots of some of the code. Trash Bag is the skeletal mesh I want to attach to the player’s hand. The Grip socket is a socket in the handle of the trash bag. Boymesh is the player’s mesh. The TBAG socket is the socket on the player’s hand. HeldObjectLocation is a scene object. If anyone knows how to solve this, please help me. This project is due as a class final project and I want it as functional as possible.