Hello everyone,
So i’m trying to create a object placement feature in my game, simply it’s a widget with buttons, so when user is clicking on the button he gets preview of object, ad it moves along the mouse… i’m really not familier with the logic that can make it so of course i’m using chat gpt but it kind of hard event with chat gpt to make it.
i found few tutorials on the youtube, but the logic those people using isn’t right, cause a lot of code are repeated, i know that there’s a way to make it without repetative code logic but don’t know how… if anyone can help me with it, could be very helpfull.
it is my playercontroller blueprint
PlacementWidget
I created the struct and data table with static mesh in it, so the information for each mesh can be stored in the data table.
I will appreciate any help.