How can I respawn a mesh if an item is dropped?
I'm currently working on implementing an item system and am trying to figure out how to implement spawning/despawning meshes when dropping and picking up items. I've seen a few examples where an actor's UStaticMeshComponent is destroyed on pickup, but how would I go about respawning that mesh when the item is dropped? Any tips are helpful at this point.
I didn't feel okay with destroying the mesh just for hiding/showing purposes, so I implemented it in the following way (I don't know if this is the "right" way of doing it). I don't have access to my code at the moment, but this is the general gist of it.
I'll see if I can dig up a concrete example for this later, but this is the general way I handled it.
answered May 30 '14 at 06:00 PM
Add it again i guess :) You name from component decleration
answered May 30 '14 at 02:22 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here