Need Help with Third Person Player Holding 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 act as a 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.
Is the object you are snapping TO the parent object a skeletal mesh? If so, simulate physics below the root bone (not including itself). That way the root bone will snap to the target bone on the parent, and all the other bones will simulate physics and provide a ragdoll effect. (In theory)
answered May 13 '17 at 04:46 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here