Placing Items from a Container to Shelves/Displays

Untitledvideo-MadewithClipchamp-ezgif.com-video-to-gif-converter

Hello, I am trying to figure out the simplest way to accomplish this with different items in my game. Similar to the clip, I want to have containers of items that are placeable on displays. I like the “jump out of the box” to the shelf effect as well. Any help would be greatly appreciated, I feel like I’m overthinking this to death and can’t get it done.

Trace to find the shelf actor you are looking at > Get next open slot (I’d use scene components for placement or programmatically make grids) > Lerp Transform between item to the slot

Of course you would need some more driving logic, fail safes behind this but this is the general idea.