Been working on a chill game where you pick up items dropped in a park and place the trash in a bin. But I made NPC’s walk around, so i wanted to add the NPC’s dropping items to give the game more realistic littering look. I have animations down and random spawning items but I can’t make the NPC’s drop them. if you have any blueprints that could give me an idea or even a FAB pack of something ill take anything at this point.
Id think you want to do something like this: move actor to location, random book to decide if litter or not, if so spawn actor using hand bone location, attach it, play animation(id use an anim montage as it has an animation complete execution pin) on animation complete, detach item from hand bone. If the litter object class has physics setup properly it should fall to the ground. Hope this help