I’ve been trying to do this for hours, and I’ve searched the forums and tutorials, but I can’t quite get this to work…
First, what I CAN get to work is to have objects that are StaticMeshActors on the level, and edit the level blueprint so my pawn can pick them up (attaching them to a socket on the pawn using Attach Actor to Component) and drop them by clicking the mouse on them. But that doesn’t seem very object-oriented, so I’ve been trying to do it a different way.
What I’ve been trying to do is make an item_blueprint (root type StaticMeshActor?) and have the objects be children of this blueprint, and have the item_blueprint receive mouse clicks to have my pawn pick up the child object. But I can’t get it to work no matter what – I can’t get Attach Actor to Component to do what I want, it doesn’t seem to do anything.
I would think this would be pretty straightforward and probably already done by some of you; any pointers or demos?