How to snap a static mesh with 1 socket to another static mesh with many sockets, so that it snaps along those when aiming at it ?

I have a base static mesh which is exactly 10x10 meter and it has every 1 meter in each direction a socket. The target mesh is 2x2 meter and i want it to move on this base grid mesh in 1 meter steps and snap to the sockets when i aim at it. How can i achieve this ?

The base grid 10x10meter with sockets

The target mesh 2x2 meter with 1 socket in the middle

I want that this target mesh 2x2 meter after aiming at the base grid with the many sockets jump from 1 socket to the next. So this is how it should move when aiming at this and when pressing a key it should place the 2x2 meter mesh there. It is intendet for building some stuff.

Is there any simple solution to achieve this ?

You could achieve this more simply:

VectorSnapToGrid

My Products

3 Likes

Ah i see ty. This works pretty good acctually thx

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.