How to make the crafting system like the forest?

I want to make the crafting system like the forest game that can interact with 3d objects. I don’t know where to start. How to lay the 3d item on the ground without overlapping each other? I can only find tutorials about crafting systems similar to Minecraft style. Does anyone know how to achieve this type of crafting system?
Please, give me some advice or suggestions. I’m looking forward for your help.

u can search tutorials on youtube.
or u can search framework on unreal marketplace.
the key word can be crafting system.

I´m on something like that, too.

My CUrrent Theory:
I use a Map for the Resulting Items, that keys are using a base64 hash.

The base64 hash is made of the ItemIDs of my inventory, and the Amount. The items are sorted numerous by their ID.

Means:

string = ItemID + xAmount + ItemID2 + xAmount2…etc
base64 < string

Since this base64 hash is unique, it only gets the resulting Item out of the Result-Map.
If no Key hash is found in the Map, their is no Crafting Result.

1 Like

I just try this method: By laying all the items on the ground in each unique place. I get all the items by tag in begin play and add them in an array. I set it visible when the array has that item.
I don’t know this is a good method or not , but if you have any better solution I’m glad to know more.

Use a scene component to mark a spot for each actor. When you spawn the actor, look for that scene component and snap it to the location.

You can search by name, or add a tag - whatever makes the most sense.

In plain english, all you need to do is define some location where an actor will go, then when the actor spawns you snap the actor to that location.

You can have the actors in an array, but I’d start out the simplest way first. On each actor, in their begin play, search for the scene component, then snap to it. The node is called " attach actor to component."

There is complicated ways to do this, and simple ways. Try to start with the simple way first. even if it’s not the best way, it will help you get the ball rolling and then through trial/error you’ll figure out the method which makes most sense for your setup.

1 Like

Hello!
Does anyone have a tutorial/solution for this type of inventory?