How Do I Make The Character Play His Animation When He Picks Up An Object?
I am using Unreal Engine 4.10 and I want to create a Blueprint that would allow my character to pickup or grab the object and have it in his pocket or back while he plays a animation for it. I have been trying to find a source page that explains about it but so far, I had found none. (Not this is for a third person game I want to make.)
This is the example I mean: link:(https://www.youtube.com/watch?v=NA0AZkPCA_c)
It would be awesome to if you show a screenshot of the blueprint and explain how it's done.
One way; On the object you want to pick up, add a collision volume, set the collision presets to "overlapalldynamic" (or custom, and just pawn). You can then do a "OnComponentBeginOverlap (CollisionVolumeName)" node in your event graph, that enables the user to press a button to pick up the item.
Then just have the button press play the associated animation on the player, destroy the actor on the ground, and equip/do whatever to the item for the player.
answered Nov 25 '16 at 01:12 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here