Lego Bricks Style Snapping / Attachment with different Brick Sizes

Hey Folks,

for the last three Weeks ive tried many and many try and error scenarios, to build a Brick based function to stack some Lego Bricks to another in different sizes like 2x2, 2x3, 2x4 and so on.

But I completely despair of this mechanic. Placing a 1x1 stone on a stud (knob) of my choice was logically done after a few minutes. But the main problem lies in the combination of bringing different types of stones such as a 2x2 onto a 2x4 and that every stud can also be used.

I have already tried the whole topic with collision queries of individual knobs (stud), as well as with the vector data, of manually set sockets and attach routines. Nothing of them works perfectly.

The main problem is the alignment of the Brick on the knobs (studs) below. The center of each brick on the origin of each knob (stud) is not the problem and works like a charm, but instead of course the knobs (studs), has to be lie on top of each other, which turns out to be extremely difficult.

I’m starting to doubt whether the Unreal Engine is fundamentally the wrong choice of engine for this type of implementation due to the lack of functions. At least at blueprint level. Certainly no problem with C++. But I can’t read and write this language.

As a reference, I use the game ā€œLego Builders Journeyā€, which I like best in terms of function and implementation.

Has anyone work with the mechanic or can help me out to realize my Vision? It would be very helpful!

Thanks and Good Day / Evening @ all

it has nothing to do with the engine, getting snapping to work can be a lot of work, speaking from experience. btw there is lego ā€˜sub’ game in fortnite if you doubt the engine choice

1 Like